-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 7 testing - use this package with Laravel 7 #1721
Comments
Edit: All looks good now. The issue I had was my fault. v3 of dingo/api is working fine. Thanks for updating it. |
Hi, Failling to install to Laravel 7:
|
Hi @niskah-energies - you haven't got you api.php config set up correctly, specifically the "formats" key, please check the wiki instructions for installation. Make sure you public vendor configs if installing for the first time. |
Hi @specialtactics , I'm not doing anything than run
I don't have any api.php config file. |
It seems that Provider can't read formats from api.php config file of package. |
@niskah-energies you need to copy/public that config file to your app/config directory, that is where it's meant to go. |
@specialtactics I'm copied vendor/dingo/config/api.php file to config/api.php but it doesn't work.
Normally api.php config file is copied when we run /dingo/api/provider/ServiceProvider.php
|
Found solution, I'm delete manually all files in bootstrap/cache/ and run |
Seems like in your cache your config was cached, and I guess it wasn't cleared for some reason when you installed dingo |
If you are in a position to upgrade to Laravel 7, please try v3.0.0-rc2 of this package, and report back any issues. These are pre-release versions, so I wouldn't recommend running them in production.
You can do this in composer with the requirement "^3.0"
The text was updated successfully, but these errors were encountered: