ezhasyafaat/laravel-view is a Laravel package for package for create view laravel..
It currently has 7 GitHub stars and 12 downloads on Packagist (latest version 2.0.1).
Install it with composer require ezhasyafaat/laravel-view.
Discover more Laravel packages by ezhasyafaat
or browse all Laravel packages to compare alternatives.
Last updated
composer require ezhasyafaat/laravel-view
$ php artisan vendor:publish --provider="Ezhasyafaat\LaravelView\LaravelViewServiceProvider"
in file config/laravel-view.php you can customize your default extends and section for your blade view
<?php
/** Config file of laravel view */
return [
/** Extends of your view file */
'extends' => 'layouts.app',
/** Section of your view file */
'section' => [
'content' => 'content',
],
];
$ php artisan make:view index
this command will be generate file index.blade.php in folder resources/views
$ php artisan make:view Product/index
this command will be generate file index.blade.php in folder resources/views/Product
$ php artisan make:view Product --resource
this command will be generate a resource views
Run the tests with:
$ composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.