Download the PHP package fefo-p/admin-panel without Composer
On this page you can find all versions of the php package fefo-p/admin-panel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fefo-p/admin-panel
More information about fefo-p/admin-panel
Files in fefo-p/admin-panel
Package admin-panel
Short Description Admin Panel for Spatie/Laravel-Permission
License MIT
Informations about the package admin-panel
About Admin Panel
Admin Panel is a TALL based solution to be able to administer users, roles and permissions. It requires several composer packages:
Package | Version |
---|---|
laravel/jetstream |
^2.10 |
livewire/livewire |
^2.5 |
spatie/laravel-permission |
^5.5 |
rappasoft/laravel-livewire-tables |
^v2.7.0 |
wire-elements/modal |
^1.0.7 |
These are all required dependencies that will be installed if needed.
Installation
-only for development-
To get started, add a local repository to Composer:
-production-
Then, require the package via Composer:
Warning
You might want to publish the config and migrations before running the install command as will automatically migrate the DB.
To find out the available options to publish, just issue a
and check for every entry with adminpanel
If in doubt, check laravel's artisan cli documentation
Seriously, you've been warned...
Initial setup
Execute the following command to do the initial setup.
It will create one role administrador
with three permissions:
- crear, ver, editar y borrar usuarios
- crear, ver, editar y borrar roles
- crear, ver, editar y borrar permisos
There are a few options available with the installation command, but not required
--profile-image
Updates jetstream to use profile images and publishes a default anonymous profile image
--verification
Makes the User model implement MustVerifyEmail, as well as allow email verification feature in fortify,
--with-user
Creates a default admin user
Note
TODO: ask for user details while installing
Environment setup
If there's a combination of external & internal users (then you only need to manage the internal user's permissions), you should add two environment variables:
where the first one indicates if there are external users, and the second indicates the column, in the users table, which will be responsible for letting us know if the user is external or internal.
Assets
You can publish all assets issuing the command, or just select individually the assets you want to publish
Configuration
You can customize the Modal via the adminpanel.php
config file. This includes some additional options like ...
To publish the config run the vendor:publish command:
Setup Vite using SSL
Laravel Websockets
confif/broadcasting.php
Websockets with SSL
.env
Conecting to Echo
resources/views/layouts/app.blade.php
Credits
License
Admin Panel is open-sourced software licensed under the MIT license.
All versions of admin-panel with dependencies
illuminate/container Version ^9.52.16
illuminate/support Version ^9.52.16
laravel/jetstream Version ^2.16.2
livewire/livewire Version ^2.12.6
spatie/laravel-permission Version ^5.11.1
rappasoft/laravel-livewire-tables Version ^2.15.0
wire-elements/modal Version ^1.0.8