{"id":25796939,"url":"https://github.com/dickidarmawansaputra/laravel-frankenphp","last_synced_at":"2026-05-18T10:38:27.109Z","repository":{"id":275280257,"uuid":"925630383","full_name":"dickidarmawansaputra/laravel-frankenphp","owner":"dickidarmawansaputra","description":"Laravel integration with FrankenPHP","archived":false,"fork":false,"pushed_at":"2025-02-02T01:40:42.000Z","size":83,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-06T23:33:40.931Z","etag":null,"topics":["frankenphp","laravel"],"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/dickidarmawansaputra.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-01T10:49:50.000Z","updated_at":"2025-02-02T01:40:45.000Z","dependencies_parsed_at":"2025-02-01T11:31:13.046Z","dependency_job_id":"b002633a-e992-47ee-b7b1-d3b93e4be7b5","html_url":"https://github.com/dickidarmawansaputra/laravel-frankenphp","commit_stats":null,"previous_names":["dickidarmawansaputra/laravel-frankenphp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dickidarmawansaputra/laravel-frankenphp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dickidarmawansaputra%2Flaravel-frankenphp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dickidarmawansaputra%2Flaravel-frankenphp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dickidarmawansaputra%2Flaravel-frankenphp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dickidarmawansaputra%2Flaravel-frankenphp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dickidarmawansaputra","download_url":"https://codeload.github.com/dickidarmawansaputra/laravel-frankenphp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dickidarmawansaputra%2Flaravel-frankenphp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33175176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"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":["frankenphp","laravel"],"created_at":"2025-02-27T14:55:36.689Z","updated_at":"2026-05-18T10:38:26.028Z","avatar_url":"https://github.com/dickidarmawansaputra.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel ❤️ FrankenPHP\n![image](https://github.com/user-attachments/assets/af5f0fcf-2368-41be-bb53-2346a711d9ec)\n\n## Stress Testing Tool\n- [Pest Stress Testing](https://pestphp.com/docs/stress-testing)\n- Command Stress Test\nStress testing with duration `10` seconds \u0026 concurrent requests `300`\n```bash\n./vendor/bin/pest stress http://localhost --duration=10 --concurrency=300\n```\n  \n## Docker\nServing a Laravel web application with FrankenPHP is as easy as mounting the project in the /app directory of the official Docker image.\n```bash\ndocker run -p 80:80 -p 443:443 -p 443:443/udp -v $PWD:/app dunglas/frankenphp\n```\n\n### Result Stress Test \n\u003cimg width=\"1038\" alt=\"image\" src=\"https://github.com/user-attachments/assets/cdb8ef13-093e-4caf-96ef-acce61c76242\" /\u003e\n\n## Local Installation\nRun your Laravel projects with FrankenPHP from your local machine.\n### Install FrankenPHP\n- Install FrankenPHP\n```bash\ncurl https://frankenphp.dev/install.sh | sh\nmv frankenphp /usr/local/bin/\n```\n- Add the following configuration to a file named `Caddyfile` in the root directory of your Laravel project:\n```caddyfile\n{\n\tfrankenphp\n}\n\n# The domain name of your server\nlocalhost {\n\t# Set the webroot to the public/ directory\n\troot * public/\n\t# Enable compression (optional)\n\tencode zstd br gzip\n\t# Execute PHP files from the public/ directory and serve assets\n\tphp_server {\n\t\ttry_files {path} index.php\n\t}\n}\n```\n\n### Result Stress Test\n- Command\n```bash\nphp artisan serve\n```\n\u003cimg width=\"1038\" alt=\"image\" src=\"https://github.com/user-attachments/assets/3d3e29cc-092f-42f0-a5bb-bf15cafdf392\" /\u003e\n\n- Command\n```bash\nfranken run\n```\n\u003cimg width=\"1038\" alt=\"image\" src=\"https://github.com/user-attachments/assets/76e154fe-51b3-4cc2-9ae9-8f515e083908\" /\u003e\n\n## Laravel Octane\nUsing Laravel Octane\n### Install Laravel Octane via the Composer package manager\n```bash\ncomposer require laravel/octane\n```\n\n### Result Stress Test\n- Command\n```bash\nphp artisan octane:frankenphp\n```\n\u003cimg width=\"1038\" alt=\"image\" src=\"https://github.com/user-attachments/assets/74062ed8-3def-43eb-9c07-2d3f96908d37\" /\u003e\n\n- Command:\n```bash\nphp artisan octane:frankenphp --host=127.0.0.1 --port=8000 --workers=4\n```\n\u003cimg width=\"1038\" alt=\"image\" src=\"https://github.com/user-attachments/assets/173e198c-a1a2-4f9f-b34e-17087f48d3cf\" /\u003e\n\n## Running Octane With Standalone Binaries\nRun package Laravel Octane apps as standalone binaries.\n```bash\nPATH=\"$PWD:$PATH\" frankenphp php-cli artisan octane:frankenphp\n```\n\n### Result Stress Test\n\u003cimg width=\"1038\" alt=\"image\" src=\"https://github.com/user-attachments/assets/fa85826a-e07b-4259-8bc8-10387d981266\" /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdickidarmawansaputra%2Flaravel-frankenphp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdickidarmawansaputra%2Flaravel-frankenphp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdickidarmawansaputra%2Flaravel-frankenphp/lists"}