{"id":51691086,"url":"https://github.com/lazyisefficient/php-local-loadbalancer","last_synced_at":"2026-07-16T02:04:15.659Z","repository":{"id":362558954,"uuid":"599115441","full_name":"LazyIsEfficient/php-local-loadbalancer","owner":"LazyIsEfficient","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-08T19:57:51.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-06-04T21:47:37.469Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/LazyIsEfficient.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":"2023-02-08T13:40:33.000Z","updated_at":"2024-03-20T19:57:12.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/LazyIsEfficient/php-local-loadbalancer","commit_stats":null,"previous_names":["lazyisefficient/php-local-loadbalancer"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/LazyIsEfficient/php-local-loadbalancer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LazyIsEfficient%2Fphp-local-loadbalancer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LazyIsEfficient%2Fphp-local-loadbalancer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LazyIsEfficient%2Fphp-local-loadbalancer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LazyIsEfficient%2Fphp-local-loadbalancer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LazyIsEfficient","download_url":"https://codeload.github.com/LazyIsEfficient/php-local-loadbalancer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LazyIsEfficient%2Fphp-local-loadbalancer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35527293,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-16T02:00:06.687Z","response_time":83,"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":[],"created_at":"2026-07-16T02:04:01.997Z","updated_at":"2026-07-16T02:04:15.652Z","avatar_url":"https://github.com/LazyIsEfficient.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slim 4 Load Balanced Skeleton\nThis repo is meant to help developers have a load-balanced php backend starting point.\nPHP is setup in a load-balanced environment where Session data is written to Redis.\n\nHere is an example of the logs.\n```\n[2023-02-08T15:15:38.882801+00:00] php.INFO: REQUEST HANDLED ON [\"172.28.0.7\",\"33a08de176bb\",\"tcp://redis:6379\",0] []\n[2023-02-08T15:15:39.523120+00:00] php.INFO: REQUEST HANDLED ON [\"172.28.0.6\",\"f6fa755f18b1\",\"tcp://redis:6379\",1] []\n[2023-02-08T15:15:40.082311+00:00] php.INFO: REQUEST HANDLED ON [\"172.28.0.8\",\"a58d94ae208e\",\"tcp://redis:6379\",2] []\n[2023-02-08T15:15:40.831349+00:00] php.INFO: REQUEST HANDLED ON [\"172.28.0.7\",\"33a08de176bb\",\"tcp://redis:6379\",3] []\n```\nYou will notice the host changes between requests but session state persists between the requests\n\n## Launching Dev Environment\n- `docker-compose up -d --scale app-proxy=3 --scale app=3`\n\n## Browser\n- `http://localhost:29010/`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flazyisefficient%2Fphp-local-loadbalancer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flazyisefficient%2Fphp-local-loadbalancer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flazyisefficient%2Fphp-local-loadbalancer/lists"}