Download the PHP package mbpcoder/laravel-api-versioning without Composer
On this page you can find all versions of the php package mbpcoder/laravel-api-versioning. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mbpcoder/laravel-api-versioning
More information about mbpcoder/laravel-api-versioning
Files in mbpcoder/laravel-api-versioning
Package laravel-api-versioning
Short Description Enable Api Versioning for Laravel
License MIT
Homepage https://github.com/mbpcoder/laravel-api-versioning
Informations about the package laravel-api-versioning
API Versioning for Laravel
This is a very simple package to support API versioning in Laravel 8,7,6,5. this package provide fallback API capability for Laravel.
Features
- If you have one API version it will automatically disable
- You can disable package in config files
- You can add countless API Versions in config file
- Does not affect routes except API
Let's Code!
If you call for /{version_number}/version every API have it is own route. If you call for /v2.1/hello-world it will try to call v2.1 and if it does not find a route will search v2 then if the version 2 also does not have the routes it will fallback to v1
Installation
You can install the package via composer:
Usage
Publish config file
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
- Mahdi Bagheri
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.