Laravel 5
PHP 7.3+
No commit activity in last 2 years
No release in over 2 years
This packages extends Backpack\Base
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

phpunit/phpunit
~6.0

Runtime

 Project Readme

Laravel Backpack Base Extended

Travis Packagist Release Licence

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.