novius/laravel-backpack-base-extended
Laravel Backpack Base Extended
This package extends Backpack/Base. See all features added bellow.
Installation
In your terminal:
composer require novius/laravel-backpack-base-extended
Then, if you are on Laravel 5.4 (no need for Laravel 5.5 and higher), register the service provider to your config/app.php file:
'providers' => [
...
Novius\Backpack\Base\BaseServiceProvider::class,
];
Launch these commands:
php artisan vendor:publish --provider="Novius\Backpack\Base\BaseServiceProvider" --tag="lang"
php artisan vendor:publish --provider="Novius\Backpack\Base\BaseServiceProvider" --tag="views" --force
php artisan vendor:publish --provider="Novius\Backpack\Base\BaseServiceProvider" --tag="routes"
Configuration
You can override default routes after having published them (previous step)
/routes/backpack/base.php
Usage & Features
Language / i18n
backpackextended namespace is now available.
You can use it in your own views like this:
{{ trans('backpackextended::base.switch_language') }}
Testing
Run the tests with:
./test.sh
Lint
Run php-cs with:
./cs.sh
Contributing
Contributions are welcome! Leave an issue on Github, or create a Pull Request.
Licence
This package is under GNU Affero General Public License v3 or (at your option) any later version.
Related Packages
novius/laravel-backpack-menu
Manages the editing and rendering of menus in Laravel application using Backpack
7,120
3
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 0.5.0 | >=7.3 | ~5.5 | AGPL-3.0 | |
| 0.4.0 | >=7.1 | ~5.5.0| | AGPL-3.0 | |
| 0.3.0 | >=7.1 | ~5.5.0 | AGPL-3.0 | |
| 0.2.0 | >=7.0 | ~5.4.0| | AGPL-3.0 | |
| 0.1.0 | >=7.0 | >=5.4 | AGPL-3.0 |