megaman
6 months ago
191
9
General

use statement without laravel

Posted 6 months ago by megaman

When using laravel i am used to being able to install laravel packages and other php composer libraries with composer and then do

use someauthor/somepackage

$a = new somepackage

How do you make this work without Laravel (ie when not using a php framework)

Do you have to manually perform the autoloading?

Please sign in or create an account to participate in this conversation.