Download the PHP package daltonmccleery/laravel-quick-start without Composer
On this page you can find all versions of the php package daltonmccleery/laravel-quick-start. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download daltonmccleery/laravel-quick-start
More information about daltonmccleery/laravel-quick-start
Files in daltonmccleery/laravel-quick-start
Package laravel-quick-start
Short Description Quick Start package to get up and running with a pre-defined Laravel Structure
License MIT
Homepage https://github.com/DaltonMcCleery/laravel-quick-start
Informations about the package laravel-quick-start
Laravel Quick Start
Requirements
This package is dependent on some 3rd party Laravel Nova packages, outlined below, so you must have Nova installed and configured prior to installing this package.
Installation
Install this package via Composer:
Publish all package assets into your application:
Then, run the new migrations:
Laravel Nova
Update your NovaServiceProvider
to include the following changes:
Redirects
Update your Http/Kernal.php
to add the following line as the last entry in the $middleware
array:
Model Revisions
To include Revisional history of changes, add the following Trait to your Model:
If you're using Nova, you'll need to update your Model's boot
method as follows:
Next, add a checkbox field to that Model's Nova resource, like so:
Lastly, you can add a Nova Action to your Model resource for reverting to a specific revision:
Now you can create new revisions either statically (via static model closures) or non-statically
You can also rollback to the latest revision, or specify an ID of a revision:
Routing
By default, the package will autoload the catch-all routes, which will override your application's routes in the web.php
file.
You may disable the auto-routing via the published config file and manually load the routes by adding the following line
in your RouteServiceProvider
's boot method:
Built With
- Auto Resolvable Laravel Blade Components (Blade Component Auto Resolver)
- Nova Charcounted Fields (Text Fields)
- Nova Filemanager (File/Asset Manager)
- Nova Tiptap (Editor Field)
- Nova Flexible Content (Content Repeater Fields)
License
The MIT License (MIT). Please see License File for more information.