You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is very important to understand which version of Dingo to use, and even more so to understand what is supported and what is not. If the version of dingo you are using is not supported, then please update it, and if necessary your version of Laravel - do NOT raise support tickets for unsupported versions!
In any case, there is very limited support for Lumen. If you are starting a new project we do not recommend you use Lumen. If you have an opportunity to move to Laravel - we recommend you do so!
Dingo Version
Laravel Version
Minimum PHP version
Supported?
1.x.x
Pre 5.6
No
2.x.x
5.6 - 6.x
PHP 7.1 - 7.2
No
3.x.x
7.x - 8.x
PHP 7.2.5
Yes
You must then modify your composer.json file and run composer update to include the latest version of the package in your project.
"require": {
"dingo/api": "^3.0.0"
}
You may need to set your minimum-stability to dev.
Once the package is installed the next step is dependant on which framework you're using.
Laravel
If you'd like to make configuration changes in the configuration file you can publish it with the following Artisan command (otherwise, this step is not needed):