Search code examples
phpmysqllaravelpackage

How get the name of all tables with properties in the laravel project


I want to make a laravel admin package and I want to make the dynamic panel with the dynamic role ,for this purpose I need a way to get the all table names with their properties, so what is the suitable way to get this data in laravel?
Thanks


Solution

  • I believe this question has already been asked and answered: you can take a look here : How to fetch the tables list in database in Laravel 5.1

    I think that should answer your question.