Download the PHP package huying/composer-learn without Composer
On this page you can find all versions of the php package huying/composer-learn. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package composer-learn
composer-learn
用于学习composer的用法
步骤
- 到packagist中查找此项目(考察如何确定包名称)
- 使用create-project安装2.1.0版,阅读除vendor文件夹、composer.lock、隐藏文件外的所有文件内容
- 新增站点,站点根目录为composer-learn/public,端口为8008,使http://localhost:8008/index.php可以访问
- 设置composer.json中的autoload使http://localhost:8008/functions.php可以正常访问,hello_world函数位于src/helpers.php中
- 设置composer.json中的autoload使http://localhost:8008/exceptions.php可以正常抛出异常,ComposerLearn\ExceptionOne类位于src/Exceptions.php中
- 设置composer.json中的autoload使http://localhost:8008/people.php可以正常访问(psr-4),ComposerLearn\People类位于src/People.php中
- 在项目根目录下运行git checkout 2.2.0,使http://localhost:8008/people.php可以正常访问
- 在项目根目录下运行git checkout 2.3.0,安装最新的stable版本的brandonwamboldt/utilphp,使http://localhost:8008/utils.php可以正常访问
参考文献
All versions of composer-learn with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
The package huying/composer-learn contains the following files
Loading the files please wait ...