| Package Data | |
|---|---|
| Maintainer Username: | novius |
| Maintainer Contact: | botalla@novius.fr (Tony Botalla) |
| Package Create Date: | 2017-08-24 |
| Package Last Update: | 2020-05-11 |
| Language: | PHP |
| License: | AGPL-3.0 |
| Last Refreshed: | 2025-10-27 03:01:53 |
| Package Statistics | |
|---|---|
| Total Downloads: | 7,484 |
| Monthly Downloads: | 10 |
| Daily Downloads: | 0 |
| Total Stars: | 3 |
| Total Watchers: | 3 |
| Total Forks: | 2 |
| Total Open Issues: | 0 |
This package extends Backpack/Base. See all features added bellow.
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"
You can override default routes after having published them (previous step)
/routes/backpack/base.php
backpackextended namespace is now available.
You can use it in your own views like this:
{{ trans('backpackextended::base.switch_language') }}
Run the tests with:
./test.sh
Run php-cs with:
./cs.sh
Contributions are welcome! Leave an issue on Github, or create a Pull Request.
This package is under GNU Affero General Public License v3 or (at your option) any later version.