When you are migrating legacy PHP applications you won’t have migration scripts available for the database. You can use the Laravel Migrations Generator package to generate migration scripts from the existing database.