Need advice on how to start big project
I've got 25 years experience with Yii but now I am starting on Laravel which I love so far. I am starting a huge project with over 100 tables. I usually start my projects with a database graphical designer but laraveldb.com is the only one I could find and it is very basic and almost unusable. Can anyone recommend the fastest way to get started?
11 Replies
I guess I could just use the normal scaffolding to write everything but is that really the fastest way on a large project?
Maybe use some other tool to create the database and then back-engineer to laravel? HELP. What is the best waý to start...
I know about drawsql app
With "Export to Laravel Migrations" function https://drawsql.app/docs/export-to-laravel-migrations
You can have a look of this one https://blueprint.laravelshift.com
Blueprint
Blueprint
A code generation tool for Laravel developers to rapidly generate multiple Laravel components from a single, human readable file.
@ruddy @bogus Thanks for the help! Greatly appreciated. I will check out both! I also found a webpage with advice on big projects. Nothing amazing in the advice just things to think about. https://laraveldaily.com/post/larger-laravel-projects-12-things-to-take-care-of
Laravel Daily
Larger Laravel Projects: 12 Things to Take Care Of
Wow. Blueprint is fantastic.
you could also use a generator like this from existing db
https://github.com/kitloong/laravel-migrations-generator
GitHub
GitHub - kitloong/laravel-migrations-generator: Laravel Migrations ...
Laravel Migrations Generator: Automatically generate your migrations from an existing database schema. - kitloong/laravel-migrations-generator
I've been using Yii2 for a long time, but when I switched to Laravel, I found that the only package you can truly rely on is Blueprint, and its creator is a remarkable figure in the Laravel community. He is also the mastermind behind Shift. The quality and functionality of Blueprint are truly fantastic
Blueprint have some integration with filamentphp? I haven't tried it... but I already want to))
Another option is just using GPT to generate a migration for each table. If you provide it with the structure you want it'll do just fine
@bogus , no , you have to install it.
Vemto - Laravel Code Generator and Studio
Vemto is a complete Studio and Code Generator for Laravel/PHP. It can generate code for Models, Migrations, Views, Controllers, Form Requests, Factories, Seeders and much more. It comes too with a visual editor for database schema and applications forms.