custom table in Laravel Model Tricks

Browse latest tricks and tips on custom table in Laravel Model.

How to use custom table in Laravel Model?

Overriding default table name in Laravel modelYou can use custom table in Laravel by overriding protected $table property of Eloquent. Below is sample usesclass User extends Eloque ...
published on : 25 minutes ago 12 Comments