Skip to content

Commit 1421bc4

Browse files
committed
README Updated
1 parent 1f5e5bd commit 1421bc4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,31 @@
44
Download the repository and extract it.
55

66
## Installation
7-
####Step 1:
7+
###Step 1:
88
Copy ```app/Console/Commands``` directory to your project ```app/Console/``` directory.
99
```$xslt
1010
|-- app/Console/Commands
1111
|-- Repository.php (core file)
1212
|-- Service.php (core file)
1313
```
1414

15-
####Step 2:
15+
###Step 2:
1616
Copy ```config/repository.php``` file to your project ```config/``` directory.
1717

1818
```$xslt
1919
|-- config
2020
|-- repository.php (core confid file)
2121
```
2222

23-
####Step 3:
23+
###Step 3:
2424
Add following commands to your ```app/Console/Kernel.php``` file.
2525
```$xslt
2626
protected $commands = [
2727
Commands\Repository::class,
2828
Commands\Service::class,
2929
];
3030
```
31-
####Step 4:
31+
###Step 4:
3232
Edit the config file. Remember All the directories are under `app` directory.
3333
```$xslt
3434
'repository_directory' => 'Repositories', ## app/Repositories
@@ -46,13 +46,13 @@ Edit the config file. Remember All the directories are under `app` directory.
4646
```
4747

4848
## Usage
49-
####Make Repository:
49+
###Make Repository:
5050
The following command makes a repository class ```TestRepositoryName``` using model
5151
```TestModelName```.
5252
```bash
5353
php artisan make:repository TestRepositoryName TestModelName
5454
```
55-
####Make Repository with Service:
55+
###Make Repository with Service:
5656
The following command makes a repository class ```TestRepositoryName``` using model
5757
```TestModelName``` and a service ```TestServiceName```.
5858
```bash
@@ -65,7 +65,7 @@ php artisan make:repository TestRepositoryName TestModelName --s=TestServiceName
6565

6666
Service flag ```--service``` or ```--s``` is optional.
6767

68-
####Make Service:
68+
###Make Service:
6969
The following command makes a service class ```TestServiceName``` using repository
7070
```TestRepositoryName```.
7171

@@ -79,7 +79,7 @@ Pull requests are welcome. For major changes, please open an issue first to disc
7979

8080
Please make sure to update tests as appropriate.
8181
##Inspired By:
82-
##### [Mohammad Imran Hossain](https://github.com/imranctg16).
82+
### [Mohammad Imran Hossain](https://github.com/imranctg16).
8383

8484
Very much grateful to @imranctg16.
8585
## License

0 commit comments

Comments
 (0)