An open API service indexing awesome lists of open source software.

https://github.com/myxiaoao/laravel-custom-make-command


https://github.com/myxiaoao/laravel-custom-make-command

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# Laravel Custom Make Command

custom laravel make commands for dev.

## Requirements

- PHP 8.0 or higher
- Laravel 9.0 or higher

## Installation

```bash
composer require cooper/laravel-custom-make-command --dev
```

## Usage

> **Note**
> Support for sub-folders.

* make:service

```php
php artisan make:service demo

// Service [app/Services/DemoService.php] created successfully.
```

* make:repository

```php
php artisan make:repository demo

// Repository [app/Repositories/DemoRepository.php] created successfully.
```

* make:action

```php
php artisan make:action demo

// Action [app/Actions/DemoAction.php] created successfully..
```

* make:dao

```php
php artisan make:dao demo

// DAO [app/DAOs/DemoDAO.php] created successfully.
```

## License

Laravel Custom Make Command is open-sourced software licensed under [the MIT license](LICENSE.md).