{"id":29313723,"url":"https://github.com/helixphp/helixphp-core","last_synced_at":"2025-07-07T10:12:36.726Z","repository":{"id":303290415,"uuid":"1014936429","full_name":"HelixPHP/helixphp-core","owner":"HelixPHP","description":"The evolutionary PHP microframework for modern APIs. Built for performance, designed to evolve. Express.js-inspired syntax with 52M+ ops/sec.","archived":false,"fork":false,"pushed_at":"2025-07-06T20:12:32.000Z","size":1419,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-06T20:45:09.039Z","etag":null,"topics":["api","express","framework","microframework","modern-php","performance","php","php8","zero-config"],"latest_commit_sha":null,"homepage":"https://helixphp.github.io/website/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HelixPHP.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2025-07-06T17:41:59.000Z","updated_at":"2025-07-06T20:24:41.000Z","dependencies_parsed_at":"2025-07-06T20:45:11.901Z","dependency_job_id":"e01465f4-7a30-4789-abb9-339bad4d256c","html_url":"https://github.com/HelixPHP/helixphp-core","commit_stats":null,"previous_names":["helixphp/helixphp-core"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/HelixPHP/helixphp-core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelixPHP%2Fhelixphp-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelixPHP%2Fhelixphp-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelixPHP%2Fhelixphp-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelixPHP%2Fhelixphp-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HelixPHP","download_url":"https://codeload.github.com/HelixPHP/helixphp-core/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelixPHP%2Fhelixphp-core/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264057650,"owners_count":23550755,"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":["api","express","framework","microframework","modern-php","performance","php","php8","zero-config"],"created_at":"2025-07-07T10:12:35.740Z","updated_at":"2025-07-07T10:12:36.710Z","avatar_url":"https://github.com/HelixPHP.png","language":"PHP","readme":"# HelixPHP Microframework\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![PHP Version](https://img.shields.io/badge/PHP-8.1%2B-blue.svg)](https://php.net)\n[![PHPStan Level](https://img.shields.io/badge/PHPStan-Level%209-brightgreen.svg)](https://phpstan.org/)\n[![PSR-12](https://img.shields.io/badge/PSR--12%20%2F%20PSR--15-compliant-brightgreen)](https://www.php-fig.org/psr/psr-12/)\n[![GitHub Issues](https://img.shields.io/github/issues/HelixPHP/helixphp-core)](https://github.com/HelixPHP/helixphp-core/issues)\n[![GitHub Stars](https://img.shields.io/github/stars/HelixPHP/helixphp-core)](https://github.com/HelixPHP/helixphp-core/stargazers)\n\n---\n\n## 🚀 O que é o HelixPHP?\n\n**HelixPHP** é um microframework moderno, leve e seguro, inspirado no Express.js, para construir APIs e aplicações web de alta performance em PHP. Foco em produtividade, arquitetura desacoplada e extensibilidade real.\n\n- **Alta Performance**: 2.57M ops/sec em CORS, 2.27M ops/sec em Response, 757K ops/sec roteamento, cache integrado.\n- **Arquitetura Moderna**: DI Container, Service Providers, Event System, Extension System e PSR-15.\n- **Segurança**: Middlewares robustos para CSRF, XSS, Rate Limiting, JWT, API Key e mais.\n- **Extensível**: Sistema de plugins, hooks, providers e integração PSR-14.\n- **Qualidade**: 270+ testes, PHPStan Level 9, PSR-12, cobertura completa.\n\n---\n\n## ✨ Principais Recursos\n\n- 🏗️ **DI Container \u0026 Providers**\n- 🎪 **Event System**\n- 🧩 **Sistema de Extensões**\n- 🔧 **Configuração flexível**\n- 🔐 **Autenticação Multi-método**\n- 🛡️ **Segurança Avançada**\n- 📡 **Streaming \u0026 SSE**\n- 📚 **OpenAPI/Swagger**\n- ⚡ **Performance**\n- 🧪 **Qualidade e Testes**\n\n---\n\n## 💡 Casos de Uso \u0026 Insights\n\n- APIs RESTful de alta performance\n- Gateways de autenticação JWT/API Key\n- Microsserviços e aplicações desacopladas\n- Sistemas extensíveis com plugins e hooks\n- Plataformas que exigem segurança e performance\n\nVeja exemplos práticos em [`examples/`](examples/), benchmarks reais em [`benchmarks/`](benchmarks/) e [relatório de performance completo](docs/performance/PERFORMANCE_REPORT_v1.0.0.md).\n\n---\n\n## 🚀 Início Rápido\n\n### Instalação\n\n```bash\ncomposer require helixphp/core\n```\n\n### Exemplo Básico\n\n```php\n\u003c?php\nrequire_once 'vendor/autoload.php';\n\nuse Helix\\Core\\Application;\nuse Helix\\Http\\Psr15\\Middleware\\{SecurityMiddleware, CorsMiddleware, AuthMiddleware};\n\n$app = new Application();\n\n// Middlewares de segurança (PSR-15)\n$app-\u003euse(new SecurityMiddleware());\n$app-\u003euse(new CorsMiddleware());\n$app-\u003euse(new AuthMiddleware([\n    'authMethods' =\u003e ['jwt'],\n    'jwtSecret' =\u003e 'sua_chave_secreta'\n]));\n\n// API RESTful\n$app-\u003eget('/api/users', function($req, $res) {\n    $res-\u003ejson(['users' =\u003e $userService-\u003egetAll()]);\n});\n\n$app-\u003epost('/api/users', function($req, $res) {\n    $user = $userService-\u003ecreate($req-\u003ebody);\n    $res-\u003estatus(201)-\u003ejson(['user' =\u003e $user]);\n});\n\n$app-\u003erun();\n```\n\n---\n\n## 📚 Documentação Completa\n\nAcesse o [Índice da Documentação](docs/index.md) para navegar por todos os guias técnicos, exemplos, referências de API, middlewares, autenticação, performance e mais.\n\nPrincipais links:\n- [Guia de Implementação Básica](docs/implementions/usage_basic.md)\n- [Guia com Middlewares Prontos](docs/implementions/usage_with_middleware.md)\n- [Guia de Middleware Customizado](docs/implementions/usage_with_custom_middleware.md)\n- [Referência Técnica](docs/techinical/application.md)\n- [Performance e Benchmarks](docs/performance/benchmarks/)\n\n---\n\n## 🤝 Como Contribuir\n\nQuer ajudar a evoluir o HelixPHP? Veja o [Guia de Contribuição](CONTRIBUTING.md) ou acesse [`docs/contributing/`](docs/contributing/) para saber como abrir issues, enviar PRs ou criar extensões.\n\n---\n\n## 📄 Licença\n\nEste projeto está licenciado sob a Licença MIT. Veja o arquivo [LICENSE](LICENSE) para detalhes.\n\n---\n\n*Desenvolvido com ❤️ para a comunidade PHP*\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelixphp%2Fhelixphp-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelixphp%2Fhelixphp-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelixphp%2Fhelixphp-core/lists"}