Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Laravel Installer Enhancement:
--kickstart
OptionOverview
This PR introduces a new
--kickstart
option to the Laravel installer, designed to streamline the initial development process by providing pre-configured application templates.Since this feature leverages the power of the laravel-shift/blueprint package, the user is up-and-running with a non-trivial, fully functional application in a matter of seconds.
For the common use case where a developer needs to quickly run code to test a feature they're working on, try out a 3rd party library, test a library they're working on, fetch data from a REST API, etc. this option is a extremely convenient!
A few more cases I can think of regarding teaching/learning Laravel, this option:
a. Provides a starting point for more advanced Laravel tutorials
b. Allows teachers to start from scratch in a video tutorial, and cover almost any simple-to-advanced feature very rapidly (the student gets to see every step along the way too)
c. Can be used for specific documentation scenarios
d. The developer might be stuck in the depths of some gnarly code and needs a clean slate to test out some logic they're working on
Key Features
Ready-made Templates To Choose From
Blog Template:
Example:
This is the simplest option to choose from.
2 models are included:
Relationship types included:
Generates the following files:
controllers and controller tests discussed below
Podcast Template:
Example:
The option gets a little more complex, so it's an 'intermediate' option.
3 standard models, and 1 pivot model, are included:
Relationship types included:
Generates the following files:
controllers and controller tests discussed below
Phone Book Template:
Example:
This is the most advanced option, based on its more complex Eloquent relationships.
4 standard Eloquent models are included:
Relationship types included:
Generates the following files:
controllers and controller tests discussed below
Controllers and Controller Tests Generation
The user will have the option to select which 'controller types' they'd like to generate.
Users can choose one of the following controller generation options:
When reaching this stage in the installation process, the most appropriate controller type will be selected (by default) based on the choices the user makes up to that point.
Implementation Notes
Cheers and Merry Xmas to everyone!