Web Composer is a user-friendly web interface that simplifies the process of installing and managing Composer packages for your PHP projects. This tool proves especially valuable in hosting environments and servers where command-line access is restricted.
Web Composer is open-source software and is licensed under the Attribution 4.0 International License. Please review the license document for detailed information.
To begin using Web Composer, follow these simple steps:
-
Upload: Upload the
composer.php
file to the root directory of your project on your web server. -
Access: Access the Web Composer interface through your web browser by navigating to
http://yourwebsite.com/path-to-web-composer/composer.php
. -
Manage Dependencies: Utilize Web Composer to effortlessly manage your project's Composer dependencies. By default, the autoloader is optimized for performance.
- Put
composer.php
next to your composer.json or project root directory. - Open your
public/index.php
file. - Find
require __DIR__.'/../vendor/autoload.php';
- Replace with
if(!@include __DIR__.'/../vendor/autoload.php')
{
require __DIR__."/../composer.php";
exit();
}
- now delete
vendor/
folder on your project
rm -rf vendor/
- Open your web site in web browser
http://yourwebsite.com/
- It should work seamlessly.
We welcome contributions to Web Composer! If you wish to contribute to the project, please visit our GitHub repository to get started. Your contributions are greatly appreciated.
Web Composer is developed and maintained by Burak Boz. For more information about the author and their work, visit the provided link.
Note: As per the license requirements, it's important to maintain the license and author information. When contributing to the project, please respect the license rules and author rights.