{"id":31956450,"url":"https://github.com/ilyar/localserver","last_synced_at":"2025-10-14T14:51:07.829Z","repository":{"id":20917209,"uuid":"24205108","full_name":"ilyar/localserver","owner":"ilyar","description":"localserver on vagrant","archived":false,"fork":false,"pushed_at":"2016-01-03T15:25:48.000Z","size":97,"stargazers_count":3,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-07-30T19:24:19.282Z","etag":null,"topics":["lamp","localserver","vagrant","xdebug"],"latest_commit_sha":null,"homepage":"http://ilyar.github.io/localserver/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ilyar.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-18T21:05:59.000Z","updated_at":"2017-03-11T18:40:41.000Z","dependencies_parsed_at":"2022-08-26T17:51:57.367Z","dependency_job_id":null,"html_url":"https://github.com/ilyar/localserver","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ilyar/localserver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyar%2Flocalserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyar%2Flocalserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyar%2Flocalserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyar%2Flocalserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ilyar","download_url":"https://codeload.github.com/ilyar/localserver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyar%2Flocalserver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019140,"owners_count":26086685,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["lamp","localserver","vagrant","xdebug"],"created_at":"2025-10-14T14:49:09.068Z","updated_at":"2025-10-14T14:51:07.824Z","avatar_url":"https://github.com/ilyar.png","language":null,"readme":"# [localserver on vagrant](http://ilyar.github.io/localserver/)\n\nMake it very easy to setup a complete development stack (MySQL, PHP, NodeJS, etc) in a matter of minutes.\n\n## Requirements\n\n* VirtualBox \u003chttp://www.virtualbox.com\u003e\n* Vagrant \u003chttp://www.vagrantup.com\u003e\n * [vagrant-hostmanager](https://github.com/smdahlen/vagrant-hostmanager) `vagrant plugin install vagrant-hostmanager`\n\n## Usage\n\nDownload [Vagrantfile](http://ilyar.github.io/localserver/Vagrantfile) to `project_name_dir` and up server\n\n\t$ cd project_name_dir\n\t$ wget http://ilyar.github.io/localserver/Vagrantfile\n\t$ vagrant up\n\nThe project is available at `http://project_name_dir.local/`\n\nNote:\n\n\t$ vagrant suspend # suspends the machine\n\t$ vagrant halt # stops the vagrant machine\n\t$ vagrant destroy -f # stops and deletes all traces of the vagrant machine\n\n\nAnd like any other vagrant file you have SSH access with:\n\n\t$ vagrant ssh\n\t\nalso can run once command:\n\n\t$ ssh vagrant@localserver composer update\n\n## Docs for setup IDE\n\n* [PHP Remote Interpreters Support in PhpStorm 8 EAP](http://blog.jetbrains.com/phpstorm/2014/04/php-remote-interpreters-support-in-phpstorm-8-eap/)\n* [How to Install Xdebug with PHPStorm and Vagrant](http://www.sitepoint.com/install-xdebug-phpstorm-vagrant/) read from `Configuring PHPStorm – Servers` \n* [Working with Advanced Vagrant features in PhpStorm](http://confluence.jetbrains.com/display/PhpStorm/Working+with+Advanced+Vagrant+features+in+PhpStorm)\n\n## Technical Details\n\n* Ubuntu 14.04 LTS 32-bit (for use 64-bit set `VM_ARCH=64`)\n* Apache 2\n* MySQL 5.5\n* PHP 5.5 (with modules: apc, memcached, cli, curl, gd, imap, mysql, mcrypt, sqlite, xdebug, xsl, pear, intl, tidy, readline) and tools:\n * phpmyadmin \u003chttp://localserver/phpmyadmin/\u003e\n * [composer](https://getcomposer.org/) — Dependency Manager for PHP\n * [composer-asset-plugin](https://github.com/francoispluchino/composer-asset-plugin/blob/master/Resources/doc/index.md) — NPM/Bower Dependency Manager for Composer\n * [php-cs-fixer](https://github.com/fabpot/PHP-CS-Fixer#usage) — PHP Coding Standards Fixer\n* NodeJs (node, npm, bower)\n\nWe are using the base Ubuntu 14.04 box from Vagrant. If you don't already have it downloaded\nthe Vagrantfile has been configured to do it for you. This only has to be done once\nfor each account on your host computer.\n\nThe web root is located in the project directory and you can install your files there.\n\n## Default credentials\n\n### MySQL\n\nExternally the MySQL server is available at `localserver:3306`, and when running on the VM it is available as a socket or at port 3306 as usual.\nUsername: root\nPassword: local\n\n### Project settings for customize in `Vagrantfile`\n\n```bash\ncustom_project_name  = false # default from project name folder\ncustom_project_host  = false # default `project_name.local`\ncustom_project_alias = false # default `www.project_name.local`\n\ncustom_ip_address    = false # default \"10.0.0.10\" IPv4 private network range\ncustom_default_host  = false # default \"localserver\"\n\ncustom_vm_arch       = false # default 32  or VM_ARCH\ncustom_vm_memory     = false # default 512 or VM_MEMORY\ncustom_vm_cores      = false # default 1   or VM_CORES\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filyar%2Flocalserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filyar%2Flocalserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filyar%2Flocalserver/lists"}