I am developing a library for Laravel which contains a service provider. I have added this library to another project\'s composer.json file.
composer.json
The compo
compo
It looks like you're simply not including your ServiceProvider. Put this in your root project's composer.json:
{ "autoload": { "psr-4": { "App\\": "app/", "MyName\\MyProject\\": "../relative/path/to/serviceprovider/" } } }