{"id":25979163,"url":"https://github.com/jaygaha/laravel-11-frankenphp-docker","last_synced_at":"2025-04-07T10:19:37.342Z","repository":{"id":269239804,"uuid":"767941097","full_name":"jaygaha/laravel-11-frankenphp-docker","owner":"jaygaha","description":"FrankenPHP and Laravel Octane with Docker + Laravel 11 \u0026 Laravel 12","archived":false,"fork":false,"pushed_at":"2025-02-25T07:26:42.000Z","size":89,"stargazers_count":78,"open_issues_count":0,"forks_count":28,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T09:03:27.137Z","etag":null,"topics":["docker","docker-compose","frankenphp","laravel","laravel11","laravel12","mailpit","minio","octane","s3"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/jaygaha.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}},"created_at":"2024-03-06T07:14:14.000Z","updated_at":"2025-03-27T19:29:13.000Z","dependencies_parsed_at":"2024-12-22T03:34:06.229Z","dependency_job_id":null,"html_url":"https://github.com/jaygaha/laravel-11-frankenphp-docker","commit_stats":null,"previous_names":["jaygaha/laravel-11-frankenphp-docker"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaygaha%2Flaravel-11-frankenphp-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaygaha%2Flaravel-11-frankenphp-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaygaha%2Flaravel-11-frankenphp-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaygaha%2Flaravel-11-frankenphp-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaygaha","download_url":"https://codeload.github.com/jaygaha/laravel-11-frankenphp-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247631834,"owners_count":20970069,"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":["docker","docker-compose","frankenphp","laravel","laravel11","laravel12","mailpit","minio","octane","s3"],"created_at":"2025-03-05T06:22:32.357Z","updated_at":"2025-04-07T10:19:37.301Z","avatar_url":"https://github.com/jaygaha.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FrankenPHP and Laravel Octane with Docker + Laravel 11 \u0026 Laravel 12\n\nThis repo is a docker boilerplate to use for Laravel projects. Containers included in this docker:\n\n1. [Laravel 11 \u0026 12](https://laravel.com/docs/)\n2. [FrankenPHP](https://frankenphp.dev/docs/docker/)\n3. MySQL\n4. Redis\n5. Supervisor\n6. [Octane](https://laravel.com/docs/octane)\n7. Minio for S3\n8. MailPit\n\nThe purpose of this repo is to run [Laravel 11](https://laravel.com/docs/) in a Docker container using [Octane](https://laravel.com/docs/octane) and [FrankenPHP](https://frankenphp.dev/docs/docker/).\n\n## Installation\n\nUse the package manager [git](https://git-scm.com/downloads) to install Docker boilerplate.\n\n```bash\n# setup project locally\n$ git clone https://github.com/jaygaha/laravel-11-frankenphp-docker.git\n# Navigate to project directory:\n$ cd laravel-11-frankenphp-docker\n```\n\n## Application Setup\n\nCopy the .env.example file to .env:\n\n```bash\n# Linux\n$ cp .env.example .env\n# OR\n# Windows\n$ copy .env.example .env\n```\n\nEdit the `.env` file to configure your application settings. At a minimum, you should set the following variables:\n\n- `APP_NAME`: The name of your application.\n- `APP_ENV`: The environment your application is running in (e.g., local, production).\n- `APP_KEY`: The application key (will be generated in the next step).\n- `APP_DEBUG`: Set to `true` for debugging.\n- `APP_URL`: The URL of your application.\n- `DB_CONNECTION`: The database connection (e.g., mysql).\n- `DB_HOST`: The database host.\n- `DB_PORT`: The database port.\n- `DB_DATABASE`: The database name.\n- `DB_USERNAME`: The database username.\n- `DB_PASSWORD`: The database password.\n\n**Edit docker related setting according to your preferences.**\n\nRun composer to install the required packages:\n\n```bash\n# install required packages\n$ composer install\n```\n\nGenerate a new application key:\n\n```bash\n# app key setup\n$ php artisan key:generate\n```\n\n## Usage\n\nBuild the Docker images:\n\n```bash\n# build docker images\n$ docker compose build\n```\n\nRun the containers:\n\n```bash\n# Run containers\n$ docker compose up -d\n```\n\nTo stop the containers, run:\n\n```bash\n# Stop containers\n$ docker compose down\n```\n\nTo view the logs of a specific container, run:\n\n```bash\n# View logs\n$ docker compose logs \u003ccontainer_name\u003e\n```\n\n**If you are using podman replace `docker` with `podman`**\n\nTo access the application, open your browser and navigate to the URL specified in the `APP_URL` variable in your `.env` file.\n\n\n## Upgrading\n\nUpgrading To 12.0 From 11.x\n\n```bash\n$ composer update\n```\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n\nFREE TO USE\n\n### Happy Coding :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaygaha%2Flaravel-11-frankenphp-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaygaha%2Flaravel-11-frankenphp-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaygaha%2Flaravel-11-frankenphp-docker/lists"}