fancoders / laravel-generate-views
A Laravel package with Artisan command to create Blade views in the resources/views directory.
v1.0.2
2024-02-04 14:48 UTC
Requires
- php: ^8.1
- illuminate/support: ^9.21|^10.0
This package is not auto-updated.
Last update: 2024-09-30 16:03:39 UTC
README
A Laravel package with Artisan command to create Blade views in the resources/views directory.
Instalation
composer require fancoders/laravel-generate-views
add service providers on file config/app.php
'providers' => [ // ... Fancode\LaravelGenerateViews\GenerateViewServiceProvider::class, ],
Usage
for generate file blade without .blade.php extentions
php artisan generate:view login
output : login.blade.php
for directly generating folders and files
php artisan generate:view auth/login
output : auth/login.blade.php
for directly generating sub folders and files
php artisan generate:view first/second/third/hello
output : first/second/third/hello.blade.php