Skip to content

fflnvb/admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FFLNVB.admin

TODO: Auth Middleware needs reroute to admin.Login Also clear cache after installation

TODO: Add PrettyDateTrait info

Laravel 9  PHP 8.1.10  Composer 2.1.5  Status: In Development

Simple administration backend for Laravel

Features

  • Backend Area on /admin
  • Login Controller
  • Responsive Sidebar
  • Blade Components for resource Controllers

Getting started

Install via Composer

composer install fflnvb/admin

Publish Config and Admin Route file

php artisan vendor:publish --tag=fflnvb-admin

Documentation

Component ordering

Please stick to the following order on using the blade components

  • mask.index|show|edit
    • mask.feedback
    • mask.item
      • mask.forms.*

mask.index

<x-admin::mask.index :name="$name" :routeName="$routeName" :single="$single">{slot}</x-admin::mask.index>

Mask for listing all model Items.

Attributes

  • $name (string) - Display name of the model
  • $single (string) - Singular name of the model
  • $routeName (string) - Name of the route for the (resource) controller
  • {slot} (string) - Space for items

mask.show

<x-admin::mask.show :name="$name" :model="$model">{slot}</x-admin::mask.show>

Mask for showing a single model.

Attributes

  • $name (string) - Display name of the model
  • $model (string) - Name of the model
  • {slot} (string) - Space for items

mask.edit

<x-admin::mask.edit :name="$name" :model="$model">{slot}</x-admin::mask.edit>

Mask for editing models.

Attributes

  • $name (string) - Display name of the model
  • $model (string) - Name of the model
  • {slot} (string) - Space for items

mask.feedback

<x-admin::mask.feedback />

Space for errors and related feedback.

No attributes

mask.item

<x-admin::mask.item>{slot}</x-admin::mask.edit>

Single item inside mask (li.list-item).

Attributes

  • {slot} (string) - Space for displaying Form Items or model attributes.

Library Mentions

This Package contains compiled and minified js and css files with Bootrap with Popper.js, Bootstrap Icons, Alpine.js as well as Alpine Breakpoints Plugin.
They are all being Licensed under MIT.

License

MIT