-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Laravel autodiscovery #38
Labels
Milestone
Comments
Thanks for report, will check it |
Laravel reads the
which are then not autoload anymore. :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it somehow possible to support Laravels autodicovery feature?
I tried to dig into Laravel to find the relevant code but I only found the place where the extra gets loaded, not where it's actually stored.
Php version:
8.0 (but doesn't really matter)
Os:
macOS / Ubunutu / Alpine
Composer packages with detection troubles:
All Laravel autodiscovered packages, e.g. https://github.com/spatie/laravel-json-api-paginate
Which type of autoload it uses?
Autodiscovery via the package's
composer.json
extra
.See: https://laravelpackage.com/03-service-providers.html#autoloading
composer.json
of the package that is not detected:Code example of package classes usage that not detected:
The methods are magically injected, you call the package methods on your own models without any
use
.See: https://github.com/spatie/laravel-json-api-paginate#usage
The text was updated successfully, but these errors were encountered: