Support the ongoing development of Laravel.io →
Requests Packages
Last updated 2 years ago.
0

What is the reason? An install script? If so, there are probably better options for you.

If you do need to go down the route of Artisan, then you could take a look at the SSH options Laravel has out of the box.

http://laravel.com/docs/4.2/ssh

You can basically connect to the server (Or remote server) and run shell commands. That should work for you I guess.

I haven't heard about running commands in any other way. I could be wrong and would love to hear otherwise. The SSH option would work for you though in the meantime.

Hope it helps.

Last updated 2 years ago.
0

thank you u saved me

Last updated 2 years ago.
0

and i found that also

Laravel 4 have a lot of features some hidden :) for some developers, i found the option to run artisan commands from route or controller, like Artisan::call('migrate:install'); or Artisan::call('migrate', [ '--path'=>'app/database/migrations' ]); Artisan::call('db:seed'); it is usefull when you don't have access to the console in share hosting environments.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.

© 2024 Laravel.io - All rights reserved.