&reftitle.setup;
&reftitle.required; &no.requirement;
&reftitle.install;

Rar is currently available through PECL &url.pecl.package;rar.

Also you can use the PECL installer to install the Rar extension, using the following command: `pecl -v install rar`.

You can always download the `tar.gz` package and install Rar by hand:

### Rar installation

    gunzip rar-xxx.tgz
    tar -xvf rar-xxx.tar
    cd rar-xxx
    phpize
    ./configure && make && make install

Windows users will enable `php_rar.dll` inside of &php.ini; in order to use these functions. &pecl.windows.download;

&reference.rar.ini;
&reftitle.resources;

This extension registers three internal classes: the archive representations returned by `rar_open` – `RarArchive`, the entry representations returned by `rar_list` and `rar_entry_get` – `RarEntry` and the exception type `RarException`.

This extension also register a stream resource, called "rar" and a URL wrapper called "rar wrapper" and registered under the prefix "rar".