cord/settings

Create and edit settings for your admin control panel within a web interface

1.0 2018-04-19 16:21 UTC

README

Settings Interface for Laravel 5 using Backpack CRUD.

Install

Coming Soon...

  1. In your terminal:
composer require cord/settings
  1. For Laravel <5.5 apps, add the service provider to your config/app.php file:
Cord\Settings\SettingsServiceProvider::class,
  1. Publish files and run the migration.
php artisan vendor:publish --provider="Cord\Settings\SettingsServiceProvider"
php artisan migrate
  1. [Optional] Add a menu item for it in resources/views/vendor/backpack/base/inc/sidebar_content.blade.php
<!-- Settings -->
<li class="treeview">
  <a href="#"><i class="fa fa-toggle-on"></i> <span>System</span> <i class="fa fa-angle-left pull-right"></i></a>
  <ul class="treeview-menu">
    <li><a href="{{ url(config('backpack.base.route_prefix', 'admin') . '/setting/app') }}"><i class="fa fa-gear"></i> <span>App Settings</span></a></li>
    <li><a href="{{ url(config('backpack.base.route_prefix', 'admin') . '/setting/system') }}"><i class="fa fa-file"></i> <span>System Config Files</span></a></li>
  </ul>
</li>

Usage

End user

Add it to the menu or access it by its routes:

  • App Settings: application/admin/setting/app
  • System Config Files: application/admin/setting/system

Credits

Some Code Used From These Repositories

Great thanks to these amazing developers who helped make this possible:

License

This package is licensed under MIT License. Please see the License File for full terms.