jawabapp / localization
Localization its a package to translate website from the admin area
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:CSS
Requires
- php: ^7.4|^8.0
- illuminate/support: ^9.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2024-10-29 05:41:30 UTC
README
This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.
Installation
You can install the package via composer:
composer require jawabapp/localization
Usage
Add the following to App\Providers\RouteServiceProvider
use Jawabapp\Localization\Libraries\Localization; Route::prefix(Localization::routePrefix()) ->middleware('web') ->group(base_path('routes/web.php'));
Add the following to App\Http\Kernel
protected $middlewareGroups = [ 'web' => [ \Jawabapp\Localization\Http\Middleware\Web\Localization::class, ], 'api' => [ \Jawabapp\Localization\Http\Middleware\Api\Localization::class, ], ];
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email i.qanah@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.