parabellumkoval/backpack-settings

Implement Settings API & MYSQL for backpack

dev-main 2023-08-02 13:14 UTC

This package is auto-updated.

Last update: 2024-06-04 11:57:52 UTC


README

Build Status Coverage Status

Packagist Packagist Packagist

This package provides a quick starter kit for implementing settings for Laravel Backpack. Provides a database, CRUD interface, API routes and more.

Installation

Install via composer

composer require parabellumKoval/backpack-settings

Migrate

php artisan migrate

Publish

Configuration File

php artisan vendor:publish --provider="Backpack\Settings\ServiceProvider" --tag="config"

Translation Files

php artisan vendor:publish --provider="Backpack\Settings\ServiceProvider" --tag="trans"

Views File

php artisan vendor:publish --provider="Backpack\Settings\ServiceProvider" --tag="views"

Migrations File

php artisan vendor:publish --provider="Backpack\Settings\ServiceProvider" --tag="migrations"

Routes File

php artisan vendor:publish --provider="Backpack\Settings\ServiceProvider" --tag="routes"

Page templates Files

php artisan vendor:publish --provider="Backpack\Settings\ServiceProvider" --tag="temps"

Stub File

php artisan vendor:publish --provider="Backpack\Settings\ServiceProvider" --tag="stub"

Usage

Seeders

php artisan db:seed --class="Backpack\Settings\database\seeders\SettingsSeeder"

Security

If you discover any security related issues, please email instead of using the issue tracker.

Credits