如何获取laravel项目中所有具有属性的表的名称

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

我想制作一个 laravel 管理包,我想制作具有动态角色的动态面板,为此 I need a way to get the all table names with their properties,所以在 laravel 中获取此数据的合适方法是什么?
谢谢

我相信这个问题已经被问过并得到了回答: 你可以在这里看看:

我认为这应该可以回答您的问题。