Level 2
This may help: https://spark.laravel.com/docs/1.0/customization#model-classes
The example given is for changing the namespace, but you could try it.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Because User doesn't really make sense for my application, I've changed the model name to Customer. I could only fully accomplish this by making a change in a core file (configuration/ManagesModelOptions.php).
Is there a way to extend this class so I don't need to do that? Documentation is lacking, otherwise I'd RTFM.
Cheers
Please or to participate in this conversation.