zintel/laravel-make-view

This package will help you create a view (blade)

1.0.12 2024-12-30 10:16 UTC

This package is auto-updated.

Last update: 2025-01-08 10:23:29 UTC


README

Install

composer require zintel/laravel-make-view

Change config file

<?php
// config/app.php

'providers' = [
        //...  
        Zintel\LaravelViewMaker\LaravelViewMakerServiceProvider::class,
        
    ],

Usage

$ php artisan make:view admin --all --o=

--all - (index.blade.php, show.blade.php, edit.blade.php)
--i   - (index.blade.php)
--sh  - (show.blade.php)
--e   - (edit.blade.php)
--c   - (create controller)
--m   - (create model)
--r   - (create request)

Example

$ php artisan make:view  admin --all --cmr