{"id":16459021,"url":"https://github.com/rattfieldnz/laravel-vagrant-dev-machine","last_synced_at":"2026-05-10T12:57:35.984Z","repository":{"id":149057594,"uuid":"110954474","full_name":"rattfieldnz/laravel-vagrant-dev-machine","owner":"rattfieldnz","description":"A Vagrant/VirtualBox dev machine set-up for Laravel development.","archived":false,"fork":false,"pushed_at":"2017-11-16T10:35:38.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-10T04:51:27.924Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rattfieldnz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-16T09:58:17.000Z","updated_at":"2021-01-28T08:27:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"7cc9e5e7-03d3-474d-8ec0-ecf56a81bfb3","html_url":"https://github.com/rattfieldnz/laravel-vagrant-dev-machine","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rattfieldnz%2Flaravel-vagrant-dev-machine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rattfieldnz%2Flaravel-vagrant-dev-machine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rattfieldnz%2Flaravel-vagrant-dev-machine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rattfieldnz%2Flaravel-vagrant-dev-machine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rattfieldnz","download_url":"https://codeload.github.com/rattfieldnz/laravel-vagrant-dev-machine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240987481,"owners_count":19889342,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T10:47:17.964Z","updated_at":"2026-05-10T12:57:35.945Z","avatar_url":"https://github.com/rattfieldnz.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Vagrant Development Machine\n\n## IMPORTANT: THIS SET-UP WAS CREATED ONLY FOR DEVELOPMENT, AND IS NOT SUITABLE FOR A PRODUCTION ENVIRONMENT!\n\nA [Vagrant](https://www.vagrantup.com/)/[VirtualBox](https://www.virtualbox.org/) dev machine set-up for Laravel development, using the popular [ubuntu/xenial](https://atlas.hashicorp.com/ubuntu/boxes/xenial64) Vagrant box.\n\nThis is an adaptation of another similar repository I created for Silverstripe-based development, which can be accessed at [https://github.com/rattfieldnz/silverstripe-vagrant-dev-machine](https://github.com/rattfieldnz/silverstripe-vagrant-dev-machine).\n\nThis set-up was created on a Windows 10 host machine, with VirtualBox v5.2.0, Vagrant v2.0.1, and Git Bash (2.1.5). If you have a different host O.S (e.g. a Linux distro), feel free to contribute :).\n\nCredit goes to Nicolaas Thiemen Francken from [Sunny Side Up Web Development](http://sunnysideup.co.nz/) for an [excellent well-documented set-up](http://silverstripe-webdevelopment.com/tricks/creating-a-development-machine/), and also to the following GitHub gists:\n\n* https://gist.github.com/rrosiek/8190550\n* https://gist.github.com/asmerkin/df919a6a79b081512366\n\n## Step 1 \n\nClone this repository to your desired location (e.g. C:\\Users\\YOURUSERNAME\\Desktop).\n\n## Step 2\n\nGo into the new cloned folder, then right click \"Git Bash Here\".\n\n## Step 3\n\nYou should now be in a folder as below:\n\nC:\\Users\\YOURUSERNAME\\Desktop\\laravel-vagrant-dev-machine\n\nEnter `vagrant up --provision` to begin creating and provisioning your machine. This can take around 10 to 15 minutes, depending on your host machine's resources.\n\n## Step 4\n\nOnce your machine has been created and provisioned, put the following entries into your Windows hosts file (C:\\Windows\\System32\\drivers\\etc\\hosts):\n\n127.0.0.1:8080                   localhost\n\n127.0.0.1:8080/phpmyadmin/       phpmyadmin.localhost\n\n127.0.0.1:8080                   server-default.localhost\n\nYou can access the above sites in your browser like so:\n\n* http://phpmyadmin.localhost:8080\n* http://server-default.localhost:8080\n\nYou can also access the Laravel test project by visiting http://laravel-test.localhost:8080.\n\n## Step 5\n\nTo transfer files from your host machine to the newly-created guest machine via SFTP (e.g. with FileZilla), use the following details:\n\nHost: 127.0.0.1\n\nUsername: laraveldev\n\nPassword: laraveldev\n\nPort: 2222\n\nDefault directory upon SFTP login is /var/www\n\n## Step 6\n\nTo access phpMyAdmin, navigate to http://phpmyadmin.localhost:8080 in your browser, and use the following credentials:\n\n* Username: ubuntu\n* Password: ubuntu\n\n## Step 7\n\nTo see server information (as displayed via PHP's 'phpinfo()' function), navigate to http://server-default.localhost:8080.\n\n----------\n\nIf you were experimenting with the set-up and broke the Vagrant machine, never fear! All you need to do is enter the following command to recreate said machine:\n\n`vagrant halt \u0026\u0026 vagrant destroy \u0026\u0026 vagrant up --provision`\n\n----------\n\nWant to help contribute and improve this set-up? Feel free to fork this repository and submit a push request. If you would like to adapt this for a Linux host machine, let me know and I'll create branches specific to the Linux distro and version.\n\nCredit goes to Nicolaas Thiemen Francken from Sunny Side Up Web Development for an [excellent well-documented set-up](http://silverstripe-webdevelopment.com/tricks/creating-a-development-machine/), and also to the following GitHub gists:\n\n* https://gist.github.com/rrosiek/8190550\n* https://gist.github.com/asmerkin/df919a6a79b081512366\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frattfieldnz%2Flaravel-vagrant-dev-machine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frattfieldnz%2Flaravel-vagrant-dev-machine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frattfieldnz%2Flaravel-vagrant-dev-machine/lists"}