Skip to content
This repository was archived by the owner on Apr 29, 2020. It is now read-only.

Commit ea74191

Browse files
Merge remote-tracking branch 'origin/master'
2 parents 5e7b3f9 + 93b7fe4 commit ea74191

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

readme.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ to your personal needs and to generate fully implemented php classes (controller
88

99
## Requirements
1010
- [PHP](https://php.net) >=7.0.0
11-
- An existing >= [Laravel 5.5](https://laravel.com/docs/master/installation) project
11+
- An existing >= [Laravel 5.5](https://laravel.com/docs/master/installation) project (For Laravel 5.4 see version 1.0)
1212

13-
Note: For Laravel 5.4 see version 1.0
13+
For the latest command options as described in the Wiki of this package use the latest Laravel version.
1414

1515
## Installation
1616

17-
1. To get started, install the package via the Composer package manager:
17+
1. To get started, install the package via the Composer package manager:
1818

1919
```bash
2020
composer require ferdinandfrank/laravel-file-generator --dev
@@ -30,7 +30,7 @@ Note: For Laravel 5.4 see version 1.0
3030
]
3131
```
3232

33-
3. Add the following entry to your providers array in `config/app.php`:
33+
3. The package should be auto-discovered by Laravel. For manual registration, add the following entry to your providers array in `config/app.php`:
3434

3535
```php
3636
'providers' => [
@@ -43,21 +43,21 @@ Note: For Laravel 5.4 see version 1.0
4343
That's it!
4444
4545
## Usage
46-
You can use the Artisan make commands provided by your Laravel application like always.
47-
For example, just execute the following command to create a new controller class with the name `UserController`:
46+
You can use the Artisan make commands provided by your Laravel application as always. This package is just an extension to provide more options and the flexibility to specify your own stub files.
47+
For example, just execute the following command to create a new controller class with the name `UserController` but with your custom specified stub file (if one exist):
4848
4949
php artisan make:controller UserController
5050
5151
For more details as well as a list of all available commands have a look at the [wiki of this package](https://github.com/ferdinandfrank/laravel-file-generator/wiki).
5252
5353
### Publishing stub files
54-
To have the full benefits of this package you can execute the following command. This will publish all the stub
54+
To have the full benefits of this package you can execute the following command to publish all the stub
5555
files which are used to create the php files when executing an Artisan make command.
5656
5757
php artisan vendor:publish --tag=stubs
5858
5959
By default the stub files will be copied to the `resources\stubs` folder of your application. As soon as you call
60-
an Artisan make command after you executed this publishing command for the stubs the stub files for generating
60+
an Artisan make command after you executed this publishing command the stub files for generating
6161
a new php file will be used as the template from this folder. To modify the path to your stubs file have a look
6262
on the next section 'Configuration'.
6363
@@ -72,7 +72,5 @@ This command will generate the file `laravel-file-generator.php` within your con
7272
## Commands
7373
You can see all details and documentation about the available make commands on the [wiki of this package](https://github.com/ferdinandfrank/laravel-file-generator/wiki).
7474
75-
**Important:** Laravel's native command `make:resource` is represented by the command `make:api-resource` in this package.
76-
7775
## License
7876
[MIT](LICENSE)

0 commit comments

Comments
 (0)