Download the PHP package lambdadigamma/laravel-api-language without Composer
On this page you can find all versions of the php package lambdadigamma/laravel-api-language. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lambdadigamma/laravel-api-language
More information about lambdadigamma/laravel-api-language
Files in lambdadigamma/laravel-api-language
Package laravel-api-language
Short Description A simple package for making a Laravel API language header aware.
License MIT
Homepage https://github.com/lambdadigamma/laravel-api-language
Informations about the package laravel-api-language
A simple package for making a Laravel API language header aware.
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Usage
To use the accept language middleware, just register it in your application's HTTP kernel.
Register it as a global middleware:
Register in a specific middleware group:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Lennart Fischer
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-api-language with dependencies
spatie/laravel-package-tools Version ^1.16.4
illuminate/contracts Version ^11.0 || ^12.0
ext-intl Version *