https://github.com/cataphract/php-rar
PECL rar extension
https://github.com/cataphract/php-rar
php php-extension php5 php7 php8 rar
Last synced: about 4 hours ago
JSON representation
PECL rar extension
- Host: GitHub
- URL: https://github.com/cataphract/php-rar
- Owner: cataphract
- License: other
- Created: 2011-01-12T10:15:15.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2023-09-04T09:47:27.000Z (over 2 years ago)
- Last Synced: 2025-03-23T21:45:53.093Z (12 months ago)
- Topics: php, php-extension, php5, php7, php8, rar
- Language: C++
- Homepage: http://pecl.php.net/package/rar
- Size: 1.84 MB
- Stars: 41
- Watchers: 6
- Forks: 21
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
PHP extension for reading RAR archives using the bundled UnRAR library.
This extension uses a modified version of the UnRAR library. The UnRAR library
is an official open-source library by RARLabs, an auto generated subset of the
RAR codebase. It is available from http://www.rarlab.com/rar_add.htm
Please note that it has a more restrictive license than the PHP bindings,
barring using it to re-create the RAR compression algorithm. See
unrar/LICENSE.txt for details.
Some modifications have been applied to the UnRAR library, mainly to allow
streaming extraction of files without using threads.
## Installation
### With PECL
```sh
pecl install rar
```
Then add `extension=rar` to your `php.ini`.
### With PIE
[PIE](https://github.com/php/pie) is the modern replacement for PECL, available from PHP 8.1+.
```sh
pie install rar
```
PIE automatically adds the extension to your `php.ini`.