Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Composer Laravel Package

composer-fork/composer

A fork of Composer, the dependency manager for PHP. It resolves and installs project dependencies, manages autoloading, and runs scripts defined in composer.json, preserving the familiar CLI workflow for modern PHP projects and package management.

Deep Wiki
Context7

composer-fork/composer is a PHP dependency manager for declaring, installing, and updating project libraries. As a fork of Composer, it resolves package constraints, downloads dependencies from Packagist or custom repositories, and generates autoloaders for modern PHP projects.

  • Dependency resolution with semantic version constraints and conflict detection
  • Reproducible installs via composer.lock
  • Autoload generation for PSR-4/PSR-0 and classmaps
  • Scripts and plugins for custom build and workflow hooks
  • Repository support including Packagist, VCS, and path repositories
Frequently asked questions about Composer
What is composer-fork/composer and how does it differ from official Composer?
composer-fork/composer is a non-official fork of Composer, the PHP dependency manager. It reads composer.json, resolves version constraints, downloads packages from Packagist, and writes a lock file for reproducible installs. The main difference is that it is community-maintained rather than the official Composer distribution, so you should review its changelog and release notes before switching.
How do I install composer-fork/composer in a Laravel project?
Install it the same way you would install Composer: review the fork's repository for its recommended PHAR or global Composer install command. In a Laravel project you would then run the fork's composer binary to install dependencies as usual. Confirm the PHP requirement and binary name first, because a fork may expose a different executable or package metadata.
Is composer-fork/composer compatible with Laravel?
Yes, because Laravel projects use Composer-compatible composer.json files and autoloading. As long as the fork tracks upstream Composer behavior, it can resolve Laravel framework packages, packages from Packagist, and Laravel-specific plugins. Test your application's install and update workflow before replacing your existing Composer binary.
Which Laravel and PHP versions does this Composer fork support?
Composer itself is framework-agnostic, so Laravel version support depends on the PHP version and package constraints your application declares. Check the fork's composer.json for its PHP requirement and compare it with the Laravel version you run. Do not assume parity with the latest official Composer release without verifying the fork's tags.
Can I use composer-fork/composer to lock dependency versions for reproducible Laravel deployments?
Yes, the core Composer workflow writes composer.lock with exact resolved versions, and a fork that preserves that behavior can support reproducible Laravel deployments. Commit composer.lock and run an install from the lock file in production rather than an unrestricted update. Verify that the fork generates lock files compatible with your existing tooling.
Does composer-fork/composer work with Packagist and private repositories?
Composer-compatible forks normally support Packagist and custom Composer repositories configured in composer.json. That includes private repositories such as Satis, Private Packagist, or VCS repositories, provided authentication is configured correctly. If your Laravel app depends on private packages, test authentication and repository priority with the fork before rolling it out.
How do scripts and plugins work with this Composer fork?
Composer scripts and plugins are part of the Composer ecosystem, so a faithful fork should run script hooks and load plugins declared in composer.json. Laravel projects often rely on scripts such as post-autoload-dump for package discovery. Confirm plugin API compatibility with the fork's version, especially if you use Laravel-specific Composer plugins.
Can I use composer-fork/composer in CI/CD for Laravel testing?
You can use a Composer fork in CI/CD if it behaves like the Composer version your Laravel project expects. Pin the fork version in your pipeline, cache the Composer cache directory, and run install from composer.lock for deterministic builds. Run your test suite and a dry-run update to catch resolver differences early.
Is composer-fork/composer safe for production use?
Treat composer-fork/composer as a non-official fork and evaluate its maintenance activity, release cadence, and security response before using it in production. Check that it tracks upstream Composer security fixes and that your team can accept the support risk. For critical Laravel deployments, prefer the official Composer release unless the fork offers a specific fix you need.
What are alternatives to composer-fork/composer for managing Laravel dependencies?
The official Composer distribution is the default alternative and is what most Laravel applications use. Other options include platform-specific package managers for non-PHP assets, Private Packagist for private dependency hosting, and tools like Laravel Sail or Docker images that bundle Composer. Choose based on whether you need fork-specific behavior or simply standard PHP dependency management.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console