l5starter/setting

Laravel 5 Start, Package setting

Installs: 101

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 1

Open Issues: 0

Type:laravel-package

dev-master 2017-12-28 11:26 UTC

This package is not auto-updated.

Last update: 2024-12-21 21:14:12 UTC


README

Installation

In order to install Laravel 5, just add

"l5starter/setting": "5.4.x-dev"

to your composer.json. Then run composer install or composer update.

Then in your config/app.php add in providers

L5Starter\Setting\SettingServiceProvider::class,

Publish Configuration

php artisan vendor:publish --provider="L5Starter\Setting\SettingServiceProvider"

Running Migrations

$ php artisan migrate

Running Seeders

$ php artisan db:seed --class=SettingsTableSeeder

Add menu in resources/views/vendor/l5starter/admin/partials/sidebar.blade.php

<li class="{{ (Request::is('admin/settings*') ? 'active' : '') }}">
    <a href="{{ route('admin.settings.index') }}">
        <i class="fa fa-cog"></i> <span>{{ trans('l5starter::general.settings') }}</span>
    </a>
</li>