Support the ongoing development of Laravel.io →
Installation Packages

I'm trying to create and use package.

Doing: php artisan workbench za-web/Core --resources

The directory structure are created http://i.imgur.com/NnJh37W.jpg

Then changing "minimum-stability" to "dev" and making composer update and then php artisan dump-autoload

And when I'n trying to use service provider form the package(in app/config.php), I'm having error, that laravel couldn't find it.

Also I was trying to do "psr-4": { "ZaWeb\Core\": "src/ZaWeb/Core" }

in composer.json of package, it not helped too. Maybe someone faced such problems too?

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.