psalm / psalm-plugin-laravel

A Psalm plugin for Laravel
MIT License
301 stars 71 forks source link

Improve DX: Use default Laravel app namespace for Models, create Application dir #323

Closed alies-dev closed 1 year ago

alies-dev commented 1 year ago

I've created Application dir where we can store not Models only, but also configs, routes - everything we need for testing. It also will have a standard Laravel namespaces that will improve DX.

Why it's important: in next PR I'm going to store somewhere config/auth.php, I decided that the default Laravel structure (and default namespaces) will be better for DX.

So, the new file structure looks like:

image