Support the ongoing development of Laravel.io →
Configuration Database

I am following the laravel tutorial guide for the creation of migrations. In the guide, it says to use a terminal command like the following: php artisan migrate:make create_users_table. This creates a migration file in the app/database/migration folder

I have pushed my laravel installation to a web server. To make new migrations, do I need to make them locally and then push them to the appropriate folder on the web server, or is there another way to access the php artisan commands?

Note: My web server does not provide shell access.

Last updated 3 years ago.
0

Since you don't have the shell access in your webserver, you can run the migration query in your local machine and then export the sql query to your webhost. Alternatively, you can also try this out -- http://bundles.laravel.com/bundle/artisan

Last updated 3 years ago.
0

Thanks. That link seems to be for an earlier version of laravel, since it is referring to bundles. I am on laravel 4. Do you know if it is still possible to expose artisan to the web for laravel 4?

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

hft7h11 hft7h11 Joined 11 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.