Download the PHP package the42coders/the-laravel-admin-panel without Composer
On this page you can find all versions of the php package the42coders/the-laravel-admin-panel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download the42coders/the-laravel-admin-panel
More information about the42coders/the-laravel-admin-panel
Files in the42coders/the-laravel-admin-panel
Package the-laravel-admin-panel
Short Description A package to create an Admin panel with basic crud.
License MIT
Homepage https://github.com/42coders/the-laravel-admin-panel
Informations about the package the-laravel-admin-panel
Adds a zero configuration Admin Panel to your Laravel Application
Installation
You can install the package via composer:
You need to register the routes to your web.php routes File as well. Since the-laravel-admin-panel Package is very powerful make sure to secure the routes with whatever authentication you use in the rest of your app.
You need to publish the assets of the Package
Other publishable Contents are
config
language
views
Usage
To generate the CRUD for a Model just add the TLAPAdminTrait to your Model.
and register it in the config tlap.php.
Now you can just visit the url of https://your-website.de/admin. You can change the url under which the admin panel will be accessible in the tlap.php config file with the path variable.
This package autoload your relations if you use return types on them.
The package is guessing your application by its Database structure. Including validation. But you can overwrite this guessing by your own wishes.
You only need to add the static function fields to your Model and set the $fields array with your Field definitions. This is the area which might change a little before the final release.
By now we have the following Fields out of the box.
Field | Description |
---|---|
Checkbox | Default bs5 Checkbox |
File | Default bs5 Filepicker |
Select | Default bs5 Select field |
Text | Default bs5 text input field |
TextField | Default bs5 Textarea. |
In the future it will be possible to add your own Fields as well.
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Max Hutschenreiter
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.
All versions of the-laravel-admin-panel with dependencies
illuminate/support Version ^9.0
spatie/laravel-medialibrary Version ^9.0.0