adyns / viewmaker
There is no license information available for the latest version (dev-master) of this package.
A laravel package for generating simple view in laravel
dev-master
2019-04-10 06:53 UTC
This package is auto-updated.
Last update: 2026-03-10 22:33:13 UTC
README
A laravel package for generating view files via laravel artisan command
Features
- You can use it to generate view files
- You can use it to generate view files extending an already existing file
- You can use it to generate view files adding all the js and css in the public directory of your laravel app
- You can use it to generate multiple view files extending an already file
- You can use it to generate multiple view files adding all the js and css already found in the laravel public directory
Usage
composer require adyns/viewmaker
Add service provider into your laravel providers array in config/app
Adyns\ViewMaker\ViewMakerServiceProvider::classYou are now ready to use the view maker commands
Commands
- php artisan make:view [filename] - generate view file
- php artisan make:view [foldername].[filename] - generate folder then the view file
- php artisan make:view [filename] --extend=[filename]?[section to extend] - generate view file extending from an existing file
- php artisan make:view [filename] -c -j - generate view file adding all the js and css files in the public directory
- php artisan make:view [filename],[filename] - generate multiple view file
Examples
- php artisan make:view app.index
- php artisan make:view dashboard -j -c
- php artisan make:view app.index,sidenav,signup
- php artisan make:view app --extend=layouts.app?content