Laravel 4.1 Run migrations and update configuration from package dependencies
问题 I'm developing a Laravel 4 package that uses Sentry 2. In order for Sentry 2 to be installed I have to run migrations and publish their configurations: php artisan migrate --package=cartalyst/sentry php artisan config:publish cartalyst/sentry I would like to allow users of my package to simply run the migrations and publish configs for my own package without having to run that for Sentry 2, or any other package that I might require. Is there any way to do this? Should this be done at all, or