https://github.com/novius/laravel-backpack-base-extended
This package extends Backpack/Base, to add some awesome features!
https://github.com/novius/laravel-backpack-base-extended
admin backpack laravel php7
Last synced: about 1 month ago
JSON representation
This package extends Backpack/Base, to add some awesome features!
- Host: GitHub
- URL: https://github.com/novius/laravel-backpack-base-extended
- Owner: novius
- Created: 2017-08-24T06:56:19.000Z (over 7 years ago)
- Default Branch: 0.3
- Last Pushed: 2020-05-11T09:17:11.000Z (about 5 years ago)
- Last Synced: 2025-03-23T23:27:17.001Z (about 2 months ago)
- Topics: admin, backpack, laravel, php7
- Language: PHP
- Size: 17.6 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel Backpack Base Extended
[](https://travis-ci.org/novius/laravel-backpack-base-extended)
[](https://packagist.org/packages/novius/laravel-backpack-base-extended)
[](https://github.com/novius/laravel-backpack-base-extended#licence)This package extends [Backpack/Base](https://github.com/Laravel-Backpack/Base). See all features added bellow.
## Installation
In your terminal:
```sh
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:
```php
'providers' => [
...
Novius\Backpack\Base\BaseServiceProvider::class,
];
```Launch these commands:
```sh
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:
```php
{{ trans('backpackextended::base.switch_language') }}
```## Testing
Run the tests with:
```sh
./test.sh
```## Lint
Run php-cs with:
```sh
./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](http://www.gnu.org/licenses/agpl-3.0.html) or (at your option) any later version.