Closed hettiger closed 10 years ago
Getting a Class not found error generating a new helper file after composer update.
php artisan ide-helper:generate Class \Illuminate\Database\Eloquent\SoftDeletingTrait is not found. A new helper file was written to _ide_helper.php
Manually checked the file exists in vendor/laravel/framework/src/Illuminate/Database/Eloquent:
vendor/laravel/framework/src/Illuminate/Database/Eloquent
<?php namespace Illuminate\Database\Eloquent; trait SoftDeletingTrait { // ...
My composer.json file (well only the important parts of it):
"require": { "laravel/framework": "4.2.*", "laracasts/validation": "1.1.*", "laracasts/flash": "1.*", "mews/captcha": "dev-master@dev" }, "config": { "preferred-install": "dist" }, "minimum-stability": "stable", "require-dev": { "barryvdh/laravel-ide-helper": "1.*", "phpunit/phpunit": "3.*", "mockery/mockery": "*", "laracasts/testdummy": "1.1.*", "way/generators": "2.6.*", "behat/behat": "3.0.*", "behat/mink": "1.5.*", "behat/mink-extension": "2.0.*", "behat/mink-goutte-driver": "1.0.*", "behat/mink-selenium2-driver": "1.1.*" }
Try searching the issues.
Should be fixed in the latest version, the error is gone (but it didn't matter anyways)
Thank you :-)
Getting a Class not found error generating a new helper file after composer update.
Manually checked the file exists in
vendor/laravel/framework/src/Illuminate/Database/Eloquent
:My composer.json file (well only the important parts of it):