# PHP Mirror (Composer registry, Packagist) in Iran

Canonical: https://mirror.rasanegaar.com/guides/en/php.html
Language: en

PHP mirror and Composer registry for Packagist and Laravel from Iran — mirror.rasanegaar.com/php/

PHP mirror (Composer registry, Packagist) — For PHP package installs in Iran, Rasanegaar Mirror keeps the Composer registry at /php/ close to your projects.

## About

Composer anchors the PHP ecosystem; Packagist is the origin for most packages.
A local registry keeps the same metadata and archives reachable from inside Iran.

## Mirror in Iran

The Composer registry at `mirror.rasanegaar.com/php` is live.
Landing page: `/repos/php/`.

Browse URL: https://mirror.rasanegaar.com/php/

## Configuration

1. Point the global Packagist source at Rasanegaar:
   ```
   composer config -g repos.packagist composer https://mirror.rasanegaar.com/php/
   ```
2. Try a test install:
   ```
   composer install
   ```

## Updates

Composer installs in Iran via the local registry matter in CI and on laptops.

## Related

Registry landing: https://mirror.rasanegaar.com/repos/php/en/
Guide HTML: https://mirror.rasanegaar.com/guides/en/php.html
