-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Class 'CrestApps\CodeGenerator\Traits\Str' not found #177
Comments
Thank you for reporting this issues! Upgrade to v2.4.6.. that should work |
But does not work with Laravel 6.20 |
Are you getting an issue when using it on Laravel 6.20? If so, please open an issue and explain it |
No, I'm using Laravel 8.63.0 Is the package officially compatible with Laravel 8? |
Yes. It should work for Laravel 5.1+ |
yes i't not working on a 6.x LTS project ... see my comment |
@marco-acorte does it work with v2.4.7? |
Yes, it works perfectly @CrestApps |
Environment:
Description:
I ran a command:
php artisan resource-file:from-database User
I got an error:
Class 'CrestApps\CodeGenerator\Traits\Str' not found at C:\laragon\www\dentit\vendor\crestapps\laravel-code-generator\src\Traits\Migration.php:119
Fix
I fixed it with importing Str class in Migration trait:
vendor/crestapps/laravel-code-generator/src/Traits/Migration.php:8 --> use CrestApps\CodeGenerator\Support\Str;
The text was updated successfully, but these errors were encountered: