tokoiwesley/laravel-preset

A custom Laravel preset

Downloads

7

Stars

0

Version

v1.0.0

Laravel Preset

This is a package for creating a custom frontend (JavaScript and CSS) scaffolding in Laravel other than the default (Bootstrap and Vue) scaffolding that ships with Laravel.

This package is inspired by How to Create Custom Laravel Presets series on Laracasts. You may use the package in your projects if you find it useful since I have tailored the custom frontend scaffolding included to my own personal needs. You may as well fork the project to add your personal preferences if you so wish.

Installation

To install the package use the following command:

composer require tokoiwesley/laravel-preset

Usage

Note: This package is compatible with Laravel 5.7+ due to the flattening of the resources/assets directory.

Use the preset artisan command in combination with the custom option to create the custom scaffolding in your application. Next, run "npm install && npm run dev" to compile the custom scaffolding.

php artisan preset custom

npm install && npm run dev

That's all!

License

This project is licensed under the terms of the MIT license.

tokoiwesley

Author

tokoiwesley