Sep

24

2020

Laracasts - How to Create Custom Laravel Presets

supnatural 24 Sep 2020 09:58 LEARNING » e-learning - Tutorial

Laracasts - How to Create Custom Laravel Presets
Laracasts - How to Create Custom Laravel Presets
Genre: eLearning | MP4 | Video: AVC, 1280x720 | Audio: aac, 48 kHz
Language: English | Size: 96 MB | Duration: 5 episodes (26m) | Advanced

Laravel ships with a small handful of custom front-end presets, but if you'd like to tailor the scaffolding specifically to your needs and preferences, no problem! It's easy. If you have a half-hour to spare, in this series I'll show you exactly how to tweak the configuration.

Macro it Up
Laravel presets allow us to configure the initial front-end scaffolding for any new Laravel project. While the framework ships with a few options out of the box, if you wish, you can create and distribute your own presets. To begin, we'll leverage Laravel's Macroable trait to construct a new preset type.

Tweak Your NPM Scripts
You'll likely want to replace or remove a number of the default npm packages that are included out of the box. Luckily, Laravel offers a method to assist with this.

Stubs
In this episode, we'll create a handful of stubs. In this context, a stub is simply a placeholder file that is constructed exactly as we wish for it to appear in our project.

Distribute a Composer Package
Now that our preset is mostly complete, the next step is to distribute it as a reusable Composer package. Don't worry, it's easy.

View the source code for this episode on GitHub.
https://github.com/laracasts/laravel-preset

Final Tweaks

http://nitroflare.com/view/C7A84F8BACA66A2/how-to-create-custom-presets.rar

or
http://rapidgator.net/file/5fb6cf4d027ac94543c1f7c65719795a/how-to-create-custom-presets.rar.html

High Speed Download

Add Comment

  • People and smileys emojis
    Animals and nature emojis
    Food and drinks emojis
    Activities emojis
    Travelling and places emojis
    Objects emojis
    Symbols emojis
    Flags emojis