Skip to content

Commit

Permalink
Fields Generate added
Browse files Browse the repository at this point in the history
  • Loading branch information
hafijul233 authored Jun 6, 2024
1 parent ced195b commit f6a4561
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,25 @@ php artisan laraflow:install

## Usage

To create a complete API CRUD stub files use this command
To create a complete API CRUD stub file use this command

```bash
php artisan laraflow:make-crud [ResourceName]
php artisan laraflow:make-crud ResourceName
```

Optionally, If you want to create inside subdirectory.
If you want to add fields to migration and request validation then

```bash
php artisan laraflow:make-crud [Directory1/Directorry2/ResourceName]
php artisan laraflow:make-crud ResourceName --fields=name,email,phone,image
```

Note: Root Namespace will to added from configuration.
Optionally, If you want to create an inside subdirectory.

```bash
php artisan laraflow:make-crud Directory1/Directorry2/ResourceName
```

Note: Root Namespace will be added from the configuration.

## Testing

Expand Down

0 comments on commit f6a4561

Please sign in to comment.