From cadd620c8a9472f7859ea67b8ecb7be8694b1ffd Mon Sep 17 00:00:00 2001 From: CrestApps Date: Mon, 18 Oct 2021 08:27:58 -0700 Subject: [PATCH] Fix #177 --- composer.json | 4 ++-- src/Traits/Migration.php | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 660484b..6e66d6c 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "crestapps/laravel-code-generator", "license": "MIT", "description": "An intelligent code generator for Laravel framework that will save you time! This awesome tool will help you generate resources like views, controllers, routes, migrations, languages and/or form-requests! It is extremely flexible and customizable to cover many on the use cases. It is shipped with cross-browsers compatible template, along with a client-side validation to modernize your application.", - "version": "v2.4.5", + "version": "v2.4.6", "keywords": [ "laravel","crud","crud generator", "laravel crud generator","laravel crud builder", @@ -20,7 +20,7 @@ } ], "require": { - "laravel/framework": ">=5.1" + "laravel/framework": "~5.1" }, "require-dev": { "phpunit/phpunit" : "^5.0||^6.0||^7.0", diff --git a/src/Traits/Migration.php b/src/Traits/Migration.php index f90e13c..1c3df46 100644 --- a/src/Traits/Migration.php +++ b/src/Traits/Migration.php @@ -5,6 +5,7 @@ use App; use RecursiveDirectoryIterator; use RecursiveIteratorIterator; +use CrestApps\CodeGenerator\Support\Str; trait Migration {