Looking to hire Laravel developers? Try LaraJobs
This package is not available.

laravel-custom-class maintained by iampapaisarkar

Description
Easily can create custom classes by artisan command
Author
Last update
2023/04/19 15:06 (dev-master)
License
Links
Downloads
11

Comments
comments powered by Disqus

Laravel Custom Class

Easily can create custom classes by artisan command (Service, Trait and Factory Class)

N|Solid

N|Solid

Laravel Version

    Laravel 8 >=

installation

composer require iampapaisarkar/laravel-custom-class

Usage

    // in your application app.php file add service provider

    // go to 
        config/app.php

    // scroll down to providers array and set this Iampapaisarkar\LaravelCustomClass\LaravelCustomClassServiceProvider::class,

        'providers' => ServiceProvider::defaultProviders()->merge([
        
            Iampapaisarkar\LaravelCustomClass\LaravelCustomClassServiceProvider::class,
        
        ])->toArray(),

Usage

    // Open you project terminal and run following commands:

    // Create Service
    php artisan make:service YouClassName

    // Create Trait
    php artisan make:trait YouClassName

    // Create Factory
    php artisan make:custom-factory YouClassName

License

MIT