Support the ongoing development of Laravel.io →
Database Packages

Hi,

What would be the best method to set up a script/command to run through general migrations as well as migrations from 3rd party packages? My scenario is that I'm using Sentry for authentication which has it's own migration scripts that I'd like to run with my own migrations from one command. Would any such command also be able to run database seeding as well.

Wondering if I can use Envoy for this or is there a better/preferred method?

Thanks

Last updated 3 years ago.
0

In a similar user case, I created an artisan 'install' command that run all needed migrations from several different packages in a row.

Just call your migration command as stated in the docs :

http://laravel.com/docs/commands#calling-other-commands

Last updated 3 years ago.
0

Cheers, that's basically what I've done. Was looking to see if Envoy would be of assistance but I think that's overcomplicating things to be honest.

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

simnom simnom Joined 18 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.