Skip to content

Commit

Permalink
Removed PECL Commands
Browse files Browse the repository at this point in the history
  • Loading branch information
brenno-duarte committed Jul 22, 2024
1 parent 389efc2 commit 0ae3ec0
Show file tree
Hide file tree
Showing 88 changed files with 6 additions and 634 deletions.
34 changes: 0 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,40 +39,6 @@ This package has polyfills for the following extensions:

The only thing you will need to do is call the `vendor/autoload.php` folder. Consult the documentation for each extension to learn how to use them.

To see the full list of available polyfills and DLLs, use this command:

```bash
vendor/bin/pecl ext:list
```

## Installing PECL extensions

The DLLs are available in the repository [https://github.com/brenno-duarte/php-pecl](https://github.com/brenno-duarte/php-pecl). You can access the previous link and enter the `extensions/` folder to see the available extensions.

To install the required DLLs, use the following command:

```bash
vendor/bin/pecl install extension_name
```

Example:

```bash
vendor/bin/pecl install memcached
```

If you want to know if an extension was installed successfully, use the `status` command:

```bash
vendor/bin/pecl status memcached
```

## Extra files

Some extensions, such as imagick, require the use of several other DLL's. These DLL's will be inside the `ext-files` folder.

Keep in mind that this folder will not be downloaded when you add this component using Composer. You must download the files manually.

# License

MIT
16 changes: 6 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,27 @@
{
"name": "brenno-duarte/php-pecl-extensions",
"description": "A collection of pollyfills and DLL files for those who don't have PECL installed",
"description": "A collection of pollyfills for those who don't have PECL installed",
"require": {
"php": "^8.3",
"ext-curl": "*",
"ext-openssl": "*",
"ext-hash": "*",
"ext-gmp": "*",
"lupecode/php-trader-native": "^2.1",
"paragonie/sodium_compat": "^1.20",
"matomo/ini": "^3.0",
"phpspec/php-diff": "^1.1",
"php-ds/php-ds": "^1.5",
"phpseclib/bcmath_compat": "^2.0",
"lupecode/php-trader-native": "^2.1",
"solital/vinci-console": "^4.0",
"sebastian/diff": "^6",
"symfony/finder": "^7.0",
"yetanotherape/diff-match-patch": "^1.1",
"sebastian/diff": "^6"
"yetanotherape/diff-match-patch": "^1.1"
},
"require-dev": {
"phpunit/phpunit": "^11"
},
"autoload": {
"psr-4": {
"PeclPolyfill\\": "lib/",
"PeclExtension\\": "src/",
"PeclPolyfill\\": "src/",
"Yaconf\\": "lib/Yaconf/",
"HRTime\\": "lib/HRTime/",
"OAuth\\": "lib/OAuth/"
Expand All @@ -37,6 +34,5 @@
"psr-4": {
"PeclPolyfillTest\\": "tests/"
}
},
"bin": "pecl"
}
}
9 changes: 0 additions & 9 deletions pecl

This file was deleted.

24 changes: 0 additions & 24 deletions sources

This file was deleted.

81 changes: 0 additions & 81 deletions src/Commands/InstallExtension.php

This file was deleted.

39 changes: 0 additions & 39 deletions src/Commands/ListExtensions.php

This file was deleted.

45 changes: 0 additions & 45 deletions src/Commands/StatusExtension.php

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
25 changes: 0 additions & 25 deletions src/PeclCommands.php

This file was deleted.

Loading

0 comments on commit 0ae3ec0

Please sign in to comment.