Home / Composer

PHP Mirror (Composer registry, Packagist) in Iran

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

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.

Composer mirror in Iran

The Composer registry at mirror.rasanegaar.com/php is live.

Landing page: /repos/php/.

On Rasanegaar Mirror

StatusAvailable
Size
Last update
URLhttps://mirror.rasanegaar.com/php/

Manual steps

  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

Updating Composer in Iran

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