Tag: #php
How PHP and Composer find your code
Composer’s autoloader uses PSR-4 to map namespaces to directories, allowing you to load classes without explicit
require
statements. 2017-11-09How do I release a PHP Composer package?
To release a PHP Composer package, create a GitHub repo, add a
composer.json
file, submit the package to Packagist.org, and tag a stable version. Then Composer users can require your package. 2017-11-06All content copyright James Fisher.