mardi 3 novembre 2015

How to run a Eloquent query from terminal?

In Ruby On Rails, I can run:

rails c -e development

then, from terminal I can access models like:

Post.find(4)

Is this possible in Laravel? I need to debug by accessing models from terminal to run specific query, any idea?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire