Thursday, March 26, 2020

first steps taken to get php to work with composer

Follow the instructions to quickly get composer installed in a particular folder::

https://getcomposer.org/download/

Create a composer.json file in the same folder::
https://getcomposer.org/doc/01-basic-usage.md#basic-usage



create a php file with the following contents::
https://getcomposer.org/doc/01-basic-usage.md#autoloading


add print_r($log); to see your object when running the php file.





No comments:

Post a Comment