We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello.
So I installed this package with composer.
I then created a new Laravel model:
<?php namespace App; use Jenssegers\Model; class Test extends Model { }
Which resulted in PHP Fatal error: Class 'Jenssegers\Model' not found
PHP Fatal error: Class 'Jenssegers\Model' not found
I then changed the use statement to
use \Jenssegers\Model;
Which resulted in the same error.
What am I doing wrong? How can I correctly extend this class to write a custom Model?
The text was updated successfully, but these errors were encountered:
Try below:
use Jenssegers\Model\Model;
Sorry, something went wrong.
No branches or pull requests
Hello.
So I installed this package with composer.
I then created a new Laravel model:
Which resulted in
PHP Fatal error: Class 'Jenssegers\Model' not found
I then changed the use statement to
use \Jenssegers\Model;
Which resulted in the same error.
What am I doing wrong? How can I correctly extend this class to write a custom Model?
The text was updated successfully, but these errors were encountered: