diff --git a/README.md b/README.md index f24ae19..5ccfdb4 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,8 @@ This Generator package provides various generators like CRUD, API, Controller, Model, Migration, View for your painless development of your applications. ## Requirements - Laravel >=5.1 - PHP >= 5.5.9 + Laravel >= 5.3 + PHP >= 5.6.4 ## Installation ``` diff --git a/composer.json b/composer.json index 50f2406..6de6544 100644 --- a/composer.json +++ b/composer.json @@ -17,9 +17,9 @@ } ], "require": { - "php": ">=5.5.9", - "illuminate/support": "^5.1", - "laravelcollective/html": "^5.1" + "php": ">=5.6.4", + "illuminate/support": "^5.3", + "laravelcollective/html": "^5.3" }, "require-dev": { "mockery/mockery": "^0.9.6", diff --git a/src/stubs/views/html/index.blade.stub b/src/stubs/views/html/index.blade.stub index b309f6b..9a3f81e 100644 --- a/src/stubs/views/html/index.blade.stub +++ b/src/stubs/views/html/index.blade.stub @@ -36,7 +36,7 @@ @foreach($%%crudName%% as $item) - {{ ++$i }} + {{ $loop->iteration }} %%formBodyHtml%% diff --git a/src/stubs/views/laravelcollective/index.blade.stub b/src/stubs/views/laravelcollective/index.blade.stub index c050719..edb8a00 100644 --- a/src/stubs/views/laravelcollective/index.blade.stub +++ b/src/stubs/views/laravelcollective/index.blade.stub @@ -36,7 +36,7 @@ @foreach($%%crudName%% as $item) - {{ ++$i }} + {{ $loop->iteration }} %%formBodyHtml%%