-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Uncaught Error: Class 'Laravel\Tinker\ClassAliasAutoloader' not found #12
Comments
Hey, what version of Laravel are you on? Or version of Tinker? |
Laravel 5.3.20 with PHP 7.1.28 on Windows. |
Well, there is the problem. I'm using the underlying laravel tinker package (https://github.com/laravel/tinker). Laravel Tinker was introduced in Laravel 5.4 (tinker 1.0 btw, I have only tested it with tinker 2 which came with Laravel 6) You should consider upgrading to a higher laravel version. But nontheless, thank you for trying to help me find bugs! |
I can definitely use Tinker in Laravel 5.3.20 with |
What is your tinker version? ( |
Running that command gives me
It looks like Tinker used to be a part of |
Ah, seems like it. I think the scope of this bug goes a little over what I want to support. Laravel ended support for 5.3 a long time ago (August 23rd, 2017). I'm willing to fix bugs that occur in currently supported versions.There has to be some boundary, I hope you understand me 🙏 If you really want to support your edge case, you may create a PR for it :) |
@mendelsimon I will add an if araound the classloader (#20) so your application will probably also work in v1.1.2 - note that autoloading is probably not going to work, but i'm not sure and am also not officially supporting it. |
The text was updated successfully, but these errors were encountered: