Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
milwad-dev committed Jun 2, 2024
1 parent f372a60 commit c8bc579
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ You can make automatically fillable for models, query for repositories and servi

Docs: https://github.com/milwad-dev/laravel-crod/wiki

# Requirements
## Requirements

***

Expand All @@ -31,7 +31,7 @@ Docs: https://github.com/milwad-dev/laravel-crod/wiki
| 1.3 | :x: | :x: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| 1.4 | :x: | :x: | :white_check_mark: | :white_check_mark: | :white_check_mark: |

# Installation
## Installation

***

Expand All @@ -45,20 +45,17 @@ After installation, you need to publish config files. <br>
php artisan vendor:publish --provider="Milwad\LaravelCrod\LaravelCrodServiceProvider" --tag="laravel-crod-config"
```

# Check active commands
## Check active commands

When you install the `Laravel Crod`, a series of commands will be activated for you. For see these commands, you can run below command: <br>

```bash
php artisan
```

<br>

You must see this command in your terminal:
![Crod commands](https://s6.uupload.ir/files/carbon_(1)_tqmq.png "Crod commands")

# Make CRUD files
## Make CRUD files

For creating crud files, you need to run the `crud:make` command in your terminal: <br>

Expand All @@ -78,9 +75,9 @@ When you execute this command, after creating the files, you will see a list of

✅ After, you can see `Laravel Crod` creates crud files such as `Model`, `Controller`, `Form-Requests`, `Migrations` etc.

# CRUD query
## CRUD query

This command adds query and date to CRUD files. <br>
<br>

<strong>** You must run the migrate command. ** </strong> <br>

Expand All @@ -104,7 +101,7 @@ When write `--id-controller` option add function without route model binding.

<font color="info">After you can see add query to service, repository, controller, model, etc.</font>

# CRUD for module
## CRUD for module

Run this command in the terminal, This command created CRUD file for module.

Expand All @@ -120,7 +117,7 @@ php artisan crud:make-module Product

When you execute this command, after creating the files, you will see a list of options that will create a series of additional files for you, which of course are optional, you can choose and if you need, it will create additional files for you such as `seeder`, `factory`, `repository`, etc.

# CRUD query from module
## CRUD query from module

<font color="succe">This command adds query and date to CRUD files for module.</font> <br>

Expand Down

0 comments on commit c8bc579

Please sign in to comment.