Skip to content

Commit 953d3db

Browse files
committed
Merge pull request Xethron#44 from jamisonvalenta/master
fix docs for Laravel 5 docs for composer project stability:stable
2 parents 98dbf33 + 2764af1 commit 953d3db

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@ Generate Laravel Migrations from an existing database, including indexes and for
1212

1313
Thanks to @jamisonvalenta, you can now generate Migrations in Laravel 5!
1414

15-
For Laravel 5 installations, use version: "dev-l5" as follows:
15+
For Laravel 5 installations, add the specified packages to your `composer.json`
1616
```json
1717
"require-dev": {
18-
"xethron/migrations-generator": "dev-l5"
18+
"xethron/migrations-generator": "dev-l5",
19+
"way/generators": "dev-feature/laravel-five-stable",
1920
}
2021
```
21-
Also, due to a composer bug, you may need explicitly add the forked `way/generators` repo:
22+
You also need to point to the fork of the `way/generators` repo:
2223
```json
2324
"repositories": [
2425
{
@@ -27,7 +28,7 @@ Also, due to a composer bug, you may need explicitly add the forked `way/generat
2728
}
2829
]
2930
```
30-
For those who use `way/generators`: you will not be able to resolve a package version for both this package and `way/generators`. `composer update` without requiring `way/generators` to generate your migrations. Then remove `xethron/migrations-generator`, add your preferred version, and `composer update` again.
31+
Note: `feature/laravel-five-stable` was forked from `way/generators` `3.0.3` and was made Laravel `5.0` ready. Jeffrey Way has discontinued support for Laravel 5, so the other `artisan generate:` commands may not have been made `5.0` compatible. Investigate the `artisan make:` commands for substitutes, contribute to Laravel to extend generation support, or fix it and submit a PR to `jamisonvalenta/feature/laravel-five-stable`.
3132

3233
## Install
3334

@@ -38,7 +39,7 @@ Edit your composer.json file to require `xethron/migrations-generator` and run `
3839
}
3940
```
4041

41-
Next, add the following service provider:
42+
Next, add the following service providers:
4243

4344
```
4445
'Way\Generators\GeneratorsServiceProvider',

0 commit comments

Comments
 (0)