Download the PHP package hex-digital/admin-module without Composer
On this page you can find all versions of the php package hex-digital/admin-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hex-digital/admin-module
More information about hex-digital/admin-module
Files in hex-digital/admin-module
Package admin-module
Short Description Module for providing core admin functionality to our Laravel projects.
License MIT
Homepage https://github.com/hex-digital/admin-module
Informations about the package admin-module
Admin Module
This module provides the core admin functionality for our Laravel projects. This module automatically takes care of installing and configuring Filament, managing admins and managing admin roles and permissions.
Installation
To get started with the admin module, you can install the pacakge via composer:
Next, you'll need to publish the config file, migrations and assets for the module and module dependencies. To simplfy this, the module comes with an install command:
Every time you upgrade the module or Filament, you need to run the admim:module
and filament:upgrade
commands. We
recommend adding this to your composer.json's post-update-cmd:
You should now run your migrations and sync the permissions:
Lastly, you can create a new admin account using:
Visit your admin panel at /admin
to sign in, and you're ready to start building.
Usage
Models & Resources
The admin module ships with an Admin
which is used for authentication. You can override this model by setting the
admin-module.admins.model
config.
Under the hood, we use the Spatie Roles and Permissions package for authorization of admins. The admin module exposes a resource for managing both admins and roles.
You can customise these models / resources by editing the config.
Permissions
The admin module exposes a permission:sync
commandwhich allows you to sync permissions which can then be assigned to
roles. By default, the module provides permissions for managing admins and roles. However, you can add your own
permissions to the admin-module.permissions
config.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
If you discover a security vulnerability, please send an e-mail to [email protected]. All security vulnerabilities will be promptly addressed.
Credits
- Ben Sherred
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of admin-module with dependencies
filament/filament Version ^2.0
illuminate/filesystem Version ^10.0
illuminate/support Version ^10.0
jeffgreco13/filament-breezy Version ^1.5
spatie/laravel-package-tools Version ^1.15
spatie/laravel-permission Version ^5.10