Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

everetts's avatar

package to read system design

Inherited a laravel project and it's confusing. Is there any package that reads the project and shows a diagram or connections to the corresponding table->model->controller->serviceprovider-> etc. Basically hoping to use a script to read how everything's interconnected. It would save me many days.

Might laravel shift do this?

Thanks.

0 likes
1 reply
jlrdw's avatar

It should be apparent from what it does and then looking at the corresponding models. Or if you understand the regular queries better you could do a var_dump on the SQL and see exactly what's going on.

It will probably be easier for you to just add ->toSql(); on the end of a query you want to check.

Please or to participate in this conversation.