Support the ongoing development of →
posted 8 years ago
Last updated 2 years ago.

Tinker is not a shell command. What Tinker at you to do is load up models and what's not in pure php without going through the controller while having the app stack

So use something like this:

If you insist on using In tinker, you can always fetch data from your models with a User::all(); and it will show you which columns are attached to that table.

Of course this won't work if you have added some accessor or hidden some fields from the get of models hence why I proposed an outside gui which is how you would Explore a normal db anyways


thank your for responding.

I actually realized afterwards that the tool i was looking for is sqlite intself. so... something like "sqlite3 /database/database.sqlite" is what i needed.

I also tried the sqlite database browser and its really helpful.

Thanks again.


Sign in to participate in this thread!


Your banner here too?

Octaviu5 octaviu5 Joined 24 May 2016


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.