Maybe it would be nice if, when you create a new PHP file, there would be an option to select that it should be an Eloquent model (or any type, really). Is that possible? Yes! We can use file templates to allow for this.
Published on Nov 11th, 2015.
Understand.io is used by hundreds of Laravel developers to find and fix errors.
Sign up for a free 14-day trial now.