sindria/homestead

A fork of laravel/homestead for every php development environment.

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:Shell

dev-master / 4.0.x-dev 2018-12-13 15:59 UTC

This package is not auto-updated.

Last update: 2024-04-26 21:05:15 UTC


README

68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d686f6d6573746561642e737667

Sindria/Homestead

A fork of laravel/homestead for every php environment. Develop by Sindria Inc.: https://sindria.org.

Laravel Homestead is an official, pre-packaged Vagrant box that provides you a wonderful development environment without requiring you to install PHP, a web server, and any other server software on your local machine. No more worrying about messing up your operating system! Vagrant boxes are completely disposable. If something goes wrong, you can destroy and re-create the box in minutes!

Homestead runs on any Windows, Mac, or Linux system, and includes the Nginx web server, PHP 7.2, MySQL, Postgres, Redis, Memcached, Node, and all of the other goodies you need to develop amazing Laravel applications.

Official documentation is located here.

Supported

  • Laravel
  • Symfony
  • Zend Framework
  • Yii
  • Magento 1.x
  • Magento 2.x
  • WordPress

Coming

  • Joomla
  • Drupal

Installation

composer require sindria/homestead --dev

Mac / Linux:

php vendor/bin/homestead make

Windows:

vendor\\bin\\homestead make

Available options for Homestead.yml

Usage: type: <platform>

  • Laravel = [default no key needed]

  • Symfony = type: symfony

  • Zend Framework = type: zend

  • Yii = type: yii

  • Magento 1.x = type: magento1

  • Magento 2.x = type: magento2

  • WordPress = type: wordpress

Append options:

  • Enable mariadb mariadb: true

  • Enable sindria for custom provision sindria: true

  • Enable WSL compatibility wsl: true

Example

ip: "10.249.197.10"
memory: 2048
cpus: 1
provider: virtualbox

authorize: ~/.ssh/vagrant@homestead.pub

keys:
    - ~/.ssh/vagrant@homestead

folders:
    - map: ~/projects/<appname>
      to: /var/www/<appname>

sites:
    - map: <appname>
      to: /var/www/<appname>/public
      type: "magento2"

databases:
    - homestead
name: <appname>
hostname: <appname>
mariadb: true
sindria: true
wsl: false

Mysql credentials:

Database - homestead

DB_User - homestead

DB_Pass - secret