Home Ask Login Register

Developers Planet

Your answer is one click away!

Norvert John Abella February 2016

Is Laravel/Homestead can be used on other PHP frameworks?

I am not yet used Laravel and I am just curios if the Homestead can be used on other PHP frameworks like CodeIgniter?


noodles_ftw February 2016

Homestead runs on Ubuntu within a Virtual Machine. It comes with the following software installed:

  • Ubuntu 14.04
  • Git
  • PHP 7.0
  • HHVM
  • Nginx
  • MySQL
  • Sqlite3
  • Postgres
  • Composer
  • Node (With PM2, Bower, Grunt, and Gulp)
  • Redis
  • Memcached
  • Beanstalkd

Pretty much anything a webserver needs to run any kind of PHP framework. If there's something missing for the framework you're using, you can install it.

shempignon February 2016

You can of course use it for any php related project. But be careful when configuring the Homestead.yaml file to correctly set the path to your projects.

    - map: laravel.app
      to: /home/vagrant/Code/laravel/public
    - map: codeigniter.api
      to: /home/vagrant/Code/codeigniter

You can also setup multiple databases if you need to.

Simply don't forget to run bash init.sh and vagrant provision each time you modify the config file.

Post Status

Asked in February 2016
Viewed 1,100 times
Voted 7
Answered 2 times


Leave an answer

Quote of the day: live life