{"id":20198361,"url":"https://github.com/tieutantan/laraker","last_synced_at":"2026-04-07T09:31:07.827Z","repository":{"id":223143980,"uuid":"535917740","full_name":"tieutantan/laraker","owner":"tieutantan","description":"Laraker is a Docker-based local development environment for PHP (Laravel-ready)","archived":false,"fork":false,"pushed_at":"2026-03-10T19:33:13.000Z","size":105,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-11T01:13:38.788Z","etag":null,"topics":["composer","docker","docker-compose","laravel","php"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/tieutantan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2022-09-13T01:48:53.000Z","updated_at":"2026-03-10T19:33:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"91b61ce9-3330-418b-af9f-d96569b2253c","html_url":"https://github.com/tieutantan/laraker","commit_stats":null,"previous_names":["tieutantan/laraker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tieutantan/laraker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tieutantan%2Flaraker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tieutantan%2Flaraker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tieutantan%2Flaraker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tieutantan%2Flaraker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tieutantan","download_url":"https://codeload.github.com/tieutantan/laraker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tieutantan%2Flaraker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31507910,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["composer","docker","docker-compose","laravel","php"],"created_at":"2024-11-14T04:30:41.216Z","updated_at":"2026-04-07T09:31:07.821Z","avatar_url":"https://github.com/tieutantan.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laraker\n\nLaraker is a Docker-based local development environment for PHP (Laravel-ready), Node.js, MySQL, Redis, and supporting tools. It provides a pre-configured stack for rapid development and debugging.\n\n## Features\n- PHP 8.4 (FPM, Alpine) with Xdebug and Redis extensions\n- Node.js 24 (for frontend asset building)\n- Nginx 1.27 (serves app on port `8001`)\n- MySQL 8.0 (port `3306`, persistent storage)\n- Redis 7.4 (port `6379`, persistent storage)\n- Supervisor (manages PHP-FPM, Laravel queue, and scheduler)\n- Custom PHP and Xdebug configuration\n- Auto-build Node.js assets on container start\n\n## Prerequisites\n- [Docker](https://docs.docker.com/get-docker/)\n- [Docker Compose](https://docs.docker.com/compose/)\n\n## Setup\n1. Clone the repository:\n   ```sh\n   git clone https://github.com/tieutantan/Laraker.git\n   cd Laraker\n   ```\n2. (Optional, Ubuntu only) Install Docker \u0026 Docker Compose:\n   ```sh\n   ./install_docker.sh\n   ```\n3. Start the containers:\n   ```sh\n   docker-compose up -d\n   ```\n4. Access your app at: [http://localhost:8001](http://localhost:8001)\n\n## Service Details\n- **PHP**: 8.4 FPM, with Xdebug and Redis extensions, Composer installed\n- **Node.js**: 24, auto-builds assets on start\n- **Nginx**: Serves `/src/public` on port `8001`\n- **MySQL**: 8.0, port `3306`\n  - Database: `laraker_db`\n  - User: `user1`, Password: `user1pw123456`\n  - Root Password: `rootp@pwroot1`\n- **Redis**: 7.4, port `6379`\n- **Supervisor**: Runs PHP-FPM, Laravel queue, and scheduler\n\n## Usage\n- Enter PHP container:\n  ```sh\n  docker exec -it laraker-app /bin/bash\n  ```\n  \n- Install Laravel newest, after enter to PHP container:\n  ```sh\n  composer create-project laravel/laravel /tmp/laravel-temp \u0026\u0026 cp -r /tmp/laravel-temp/. . \u0026\u0026 rm -rf /tmp/laravel-temp\n  ```\n\n- Laravel queue worker and scheduler are managed by Supervisor (see `docker/php/supervisor.conf`).\n- Xdebug is enabled and configurable via environment variables in `docker/php/xdebug.ini`.\n- Custom PHP settings in `docker/php/php.ini`.\n- MySQL and Redis data are persisted via Docker volumes.\n\n## Notes\n- Place your Laravel project in the `src` directory. The web root is `src/public`.\n- Node.js assets are built automatically on container start. Adjust the build command in `docker-compose.yml` if needed.\n- To change PHP or Xdebug settings, edit the corresponding files in `docker/php/` and restart the containers.\n\n## Troubleshooting\n- If you encounter permission issues, ensure Docker has access to your project directory.\n- For Xdebug remote debugging, set `XDEBUG_CLIENT_HOST` and `XDEBUG_MODE` as needed.\n- To stop all containers:\n  ```sh\n  docker-compose down\n  ```\n\n## Credits\n- Inspired by Laravel, Docker, and community best practices.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftieutantan%2Flaraker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftieutantan%2Flaraker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftieutantan%2Flaraker/lists"}