php composer how to use from another package code example
Example 1: composer don't load class
composer dumpautoload -o
Example 2: composer add package
composer require name-of-package
composer dumpautoload -o
composer require name-of-package