Skip to content

Commit a0762c1

Browse files
committed
Refactor project references from Express PHP to HelixPHP across scripts and documentation
- Updated pre-commit and pre-push hooks to reflect new project name. - Modified release preparation and automated release scripts for HelixPHP. - Adjusted setup script for Git hooks to align with HelixPHP branding. - Revised documentation validation scripts to validate HelixPHP structure and content. - Updated versioning scripts to reflect HelixPHP versioning. - Changed project validation script to validate HelixPHP structure and components. - Updated benchmark validation scripts to check for HelixPHP benchmarks. - Adjusted OpenAPI validation script to reflect HelixPHP. - Updated aliases to return HelixPHP application instances. - Modified unit tests to reflect HelixPHP branding and functionality.
1 parent 346df91 commit a0762c1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+481
-408
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Bug Report
3-
about: Create a report to help us improve Express PHP
3+
about: Create a report to help us improve HelixPHP
44
title: '[BUG] '
55
labels: bug
66
assignees: CAFernandes
@@ -26,7 +26,7 @@ Se aplicável, adicione screenshots para ajudar a explicar o problema.
2626
## 🖥️ Ambiente
2727
- OS: [ex: Windows, macOS, Linux]
2828
- PHP Version: [ex: 8.1.0]
29-
- Express PHP Version: [ex: 1.0.0]
29+
- HelixPHP Version: [ex: 1.0.0]
3030
- Web Server: [ex: Apache, Nginx]
3131

3232
## 📝 Contexto Adicional

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Feature Request
3-
about: Suggest an idea for Express PHP
3+
about: Suggest an idea for HelixPHP
44
title: '[FEATURE] '
55
labels: enhancement
66
assignees: CAFernandes

.github/ISSUE_TEMPLATE/question.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Question
3-
about: Ask a question about Express PHP
3+
about: Ask a question about HelixPHP
44
title: '[QUESTION] '
55
labels: question
66
assignees: ''
@@ -22,6 +22,6 @@ Descreva as soluções que você já tentou.
2222
```
2323

2424
## 🔗 Links Úteis
25-
- [Documentação](https://github.com/CAFernandes/express-php/wiki)
26-
- [Exemplos](https://github.com/CAFernandes/express-php/tree/main/examples)
27-
- [Guia de Autenticação](https://github.com/CAFernandes/express-php/blob/main/docs/pt-br/AUTH_MIDDLEWARE.md)
25+
- [Documentação](https://github.com/CAFernandes/helixphp-core/wiki)
26+
- [Exemplos](https://github.com/CAFernandes/helixphp-core/tree/main/examples)
27+
- [Guia de Autenticação](https://github.com/CAFernandes/helixphp-core/blob/main/docs/pt-br/AUTH_MIDDLEWARE.md)

CHANGELOG.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [1.0.0] - 2024-01-06
99

1010
### Changed
11-
- Complete rebrand from Express PHP to HelixPHP
12-
- All namespaces changed from `Express\` to `Helix\`
13-
- Package name changed from `cafernandes/express-php` to `helixphp/core`
11+
- Complete rebrand from HelixPHP to HelixPHP
12+
- All namespaces changed from `Helix\` to `Helix\`
13+
- Package name changed from `cafernandes/helixphp-core` to `helixphp/core`
1414
- Repository moved to HelixPHP organization
1515
- Version reset to 1.0.0 for the new brand
1616

1717
### Added
1818
- New HelixPHP branding and documentation
19-
- Migration guide for existing Express PHP users
19+
- Migration guide for existing HelixPHP users
2020

2121
### Note
22-
This is the first release under the HelixPHP brand. For previous versions, see the Express PHP project history.
22+
This is the first release under the HelixPHP brand. For previous versions, see the HelixPHP project history.
2323

2424

2525
---
2626

27-
## Previous Express PHP History
27+
## Previous HelixPHP History
2828

2929
# Changelog
3030

31-
Todas as mudanças notáveis no Express-PHP Framework serão documentadas neste arquivo.
31+
Todas as mudanças notáveis no HelixPHP Framework serão documentadas neste arquivo.
3232

3333
O formato é baseado em [Keep a Changelog](https://keepachangelog.com/pt-BR/1.0.0/),
3434
e este projeto adere ao [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
@@ -37,7 +37,7 @@ e este projeto adere ao [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
3737

3838
### 🐛 **PHP 8.4 Compatibility & Validation Fixes**
3939

40-
> 📖 **Veja o overview completo da versão:** [docs/releases/FRAMEWORK_OVERVIEW_v2.1.3.md](docs/releases/FRAMEWORK_OVERVIEW_v2.1.3.md)
40+
> 📖 **Veja o overview completo da versão:** [docs/releases/FRAMEWORK_OVERVIEW_v1.0.0.md](docs/releases/FRAMEWORK_OVERVIEW_v1.0.0.md)
4141
4242
#### Fixed
4343
- **PHP 8.4 Compatibility**: Resolvidos warnings de depreciação do `ReflectionProperty::setValue()` nos testes
@@ -59,13 +59,13 @@ e este projeto adere ao [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
5959

6060
## [2.1.1] - 2025-06-30
6161

62-
> 📖 **Veja o novo overview completo da versão:** [FRAMEWORK_OVERVIEW_v2.1.1.md](FRAMEWORK_OVERVIEW_v2.1.1.md)
62+
> 📖 **Veja o novo overview completo da versão:** [FRAMEWORK_OVERVIEW_v1.0.0.md](FRAMEWORK_OVERVIEW_v1.0.0.md)
6363
6464
### 🚀 Performance & Modernization Release
6565
- **Advanced Optimizations**: ML-powered cache (5 models), Zero-copy operations (1.7GB saved), Memory mapping
6666
- **Performance**: 278x improvement - 52M ops/sec CORS, 24M ops/sec Response, 11M ops/sec JSON
6767
- **Benchmarks**: Scientific methodology with real production data
68-
- **Documentation**: Consolidated structure with FRAMEWORK_OVERVIEW_v2.0.1.md
68+
- **Documentation**: Consolidated structure with FRAMEWORK_OVERVIEW_v1.0.0.md
6969
- **Memory Efficiency**: Peak usage reduced to 89MB with intelligent GC
7070
- **Modern PHP 8.1+ Features**: Typed properties, constructor promotion, strict types
7171
- **Security**: CSRF, XSS, JWT, CORS, Rate Limiting, Security Headers
@@ -78,7 +78,7 @@ e este projeto adere ao [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
7878

7979
### 📚 **Major Documentation & Scripts Restructure**
8080

81-
> 📖 **Veja o overview completo da versão:** [docs/releases/FRAMEWORK_OVERVIEW_v2.1.2.md](docs/releases/FRAMEWORK_OVERVIEW_v2.1.2.md)
81+
> 📖 **Veja o overview completo da versão:** [docs/releases/FRAMEWORK_OVERVIEW_v1.0.0.md](docs/releases/FRAMEWORK_OVERVIEW_v1.0.0.md)
8282
8383
#### 🏗️ **Reestruturação Completa da Documentação**
8484
- **Nova estrutura organizada**: `docs/releases/`, `docs/techinical/`, `docs/implementions/`, `docs/performance/`, `docs/testing/`, `docs/contributing/`
@@ -99,12 +99,12 @@ e este projeto adere ao [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
9999
#### 📋 **Scripts Migrados para Legacy**
100100
- `cleanup_docs.sh` - Script de limpeza para estrutura antiga
101101
- `fix-psr12-lines.sh` - Correções PSR-12 específicas hardcoded
102-
- `publish_v2.0.1.sh` - Script de publicação v2.0.1
102+
- `publish_v1.0.0.sh` - Script de publicação v1.0.0
103103
- `validate-docs-legacy.sh` - Validação de docs estrutura antiga
104104
- `validate-docs-v2.sh` - Validação de docs v2.0
105105

106106
#### 🚀 **Novos Scripts e Funcionalidades**
107-
- **`validate-docs.sh`**: Novo validador para estrutura v2.1.2
107+
- **`validate-docs.sh`**: Novo validador para estrutura v1.0.0
108108
- **`validate_all.sh`**: Script principal com modo `--pre-commit` para validações rápidas
109109
- **Validação modular**: Cada script especializado em sua área (docs, benchmarks, projeto, PSR-12)
110110
- **Relatórios detalhados**: Output colorido e estatísticas de sucesso para todos os scripts
@@ -126,7 +126,7 @@ e este projeto adere ao [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
126126
- **Feedback claro**: Scripts com output colorido e instruções específicas
127127
- **Documentação técnica expandida**: Guias detalhados para todas as funcionalidades
128128

129-
#### 📈 **Estatísticas da Release v2.1.2**
129+
#### 📈 **Estatísticas da Release v1.0.0**
130130
- **Arquivos de documentação**: 32 verificações, 100% de sucesso
131131
- **Scripts reorganizados**: 6 scripts integrados, 5 movidos para legacy
132132
- **Estrutura de diretórios**: 7 novas seções de documentação organizadas
@@ -143,7 +143,7 @@ e este projeto adere ao [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
143143
1. Execute `./scripts/setup-precommit.sh` para configurar hooks automáticos
144144
2. Navegue pela nova documentação em `docs/index.md`
145145
3. Use `scripts/validate_all.sh` para validação completa do projeto
146-
4. Consulte `docs/releases/FRAMEWORK_OVERVIEW_v2.1.2.md` para overview detalhado
146+
4. Consulte `docs/releases/FRAMEWORK_OVERVIEW_v1.0.0.md` para overview detalhado
147147

148148
#### 🔧 **Mudanças Técnicas Detalhadas**
149149

@@ -154,7 +154,7 @@ scripts/
154154
├── pre-commit # 🔄 Hook integrado (ATUALIZADO)
155155
├── pre-push # ✨ Hook novo (CRIADO)
156156
├── setup-precommit.sh # 🔄 Instalador (ATUALIZADO)
157-
├── validate-docs.sh # 🆕 Validador docs v2.1.2 (RECRIADO)
157+
├── validate-docs.sh # 🆕 Validador docs v1.0.0 (RECRIADO)
158158
├── validate_project.php # ✅ Validador PHP (EXISTENTE)
159159
├── validate_benchmarks.sh # ✅ Validador benchmarks (EXISTENTE)
160160
├── validate-psr12.php # ✅ Validador PSR-12 (EXISTENTE)

CONTRIBUTING.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# 🤝 Contribuindo para o Express PHP
1+
# 🤝 Contribuindo para o HelixPHP
22

3-
Obrigado pelo seu interesse em contribuir para o Express PHP! Valorizamos contribuições da comunidade.
3+
Obrigado pelo seu interesse em contribuir para o HelixPHP! Valorizamos contribuições da comunidade.
44

55
## 🚀 Como Contribuir
66

77
### 1. Configurar Ambiente de Desenvolvimento
88

99
```bash
1010
# Fork o projeto no GitHub
11-
git clone https://github.com/seu-usuario/express-php.git
12-
cd express-php
11+
git clone https://github.com/seu-usuario/helixphp-core.git
12+
cd helixphp-core
1313

1414
# Instalar dependências
1515
composer install
@@ -56,7 +56,7 @@ src/
5656
#### Template de Middleware
5757
```php
5858
<?php
59-
namespace Express\Middlewares\Core;
59+
namespace Helix\Middlewares\Core;
6060

6161
class MeuMiddleware
6262
{
@@ -109,10 +109,10 @@ composer test
109109
#### Criar Novos Testes
110110
```php
111111
<?php
112-
namespace Express\Tests\Middlewares\Core;
112+
namespace Helix\Tests\Middlewares\Core;
113113

114114
use PHPUnit\Framework\TestCase;
115-
use Express\Middlewares\Core\MeuMiddleware;
115+
use Helix\Middlewares\Core\MeuMiddleware;
116116

117117
class MeuMiddlewareTest extends TestCase
118118
{
@@ -131,7 +131,7 @@ class MeuMiddlewareTest extends TestCase
131131
### 🐛 Reportar Bugs
132132
- Use o template de issue no GitHub
133133
- Inclua exemplos de código para reproduzir
134-
- Especifique versões (PHP, Express PHP)
134+
- Especifique versões (PHP, HelixPHP)
135135

136136
### ✨ Propor Novos Recursos
137137
- Abra uma issue para discussão
@@ -182,7 +182,7 @@ Contribuidores são listados em:
182182

183183
When reporting bugs, please include:
184184
- PHP version
185-
- Express PHP version
185+
- HelixPHP version
186186
- Steps to reproduce
187187
- Expected vs actual behavior
188188
- Error messages or logs
@@ -242,7 +242,7 @@ test: add middleware integration tests
242242

243243
## 📖 Development Resources
244244

245-
- [Express PHP Documentation](docs/en/README.md)
245+
- [HelixPHP Documentation](docs/en/README.md)
246246
- [Security Implementation Guide](docs/guides/SECURITY_IMPLEMENTATION.md)
247247
- [Migration Guide](docs/development/MIDDLEWARE_MIGRATION.md)
248248

@@ -268,4 +268,4 @@ By contributing, you agree that your contributions will be licensed under the MI
268268

269269
---
270270

271-
Thank you for helping make Express PHP better! 🚀
271+
Thank you for helping make HelixPHP better! 🚀

DOCUMENTATION_STATUS.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# HelixPHP Documentation Status
2+
3+
## ✅ Documentation Updated
4+
5+
As of $(date +"%Y-%m-%d"), all documentation has been updated to reflect:
6+
7+
- **Framework Name**: HelixPHP (previously Express PHP)
8+
- **Package Name**: helixphp/core (previously cafernandes/express-php)
9+
- **Namespace**: Helix\ (previously Express\)
10+
- **Version**: 1.0.0
11+
- **Repository**: HelixPHP/helixphp-core
12+
13+
## Files Updated
14+
15+
- README.md
16+
- CONTRIBUTING.md
17+
- CHANGELOG.md
18+
- All files in docs/
19+
- All files in benchmarks/
20+
- All example files
21+
- Performance reports
22+
23+
## Verification Checklist
24+
25+
- [x] Main README uses correct package name
26+
- [x] Code examples use Helix namespace
27+
- [x] Version references updated to 1.0.0
28+
- [x] Repository URLs updated
29+
- [x] Framework name consistent throughout
30+

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
[![PHP Version](https://img.shields.io/badge/PHP-8.1%2B-blue.svg)](https://php.net)
55
[![PHPStan Level](https://img.shields.io/badge/PHPStan-Level%209-brightgreen.svg)](https://phpstan.org/)
66
[![PSR-12](https://img.shields.io/badge/PSR--12%20%2F%20PSR--15-compliant-brightgreen)](https://www.php-fig.org/psr/psr-12/)
7-
[![GitHub Issues](https://img.shields.io/github/issues/CAFernandes/helixphp-core)](https://github.com/CAFernandes/helixphp-core/issues)
8-
[![GitHub Stars](https://img.shields.io/github/stars/CAFernandes/helixphp-core)](https://github.com/CAFernandes/helixphp-core/stargazers)
7+
[![GitHub Issues](https://img.shields.io/github/issues/HelixPHP/helixphp-core)](https://github.com/HelixPHP/helixphp-core/issues)
8+
[![GitHub Stars](https://img.shields.io/github/stars/HelixPHP/helixphp-core)](https://github.com/HelixPHP/helixphp-core/stargazers)
99

1010
---
1111

@@ -44,7 +44,7 @@
4444
- Sistemas extensíveis com plugins e hooks
4545
- Plataformas que exigem segurança e performance
4646

47-
Veja exemplos práticos em [`examples/`](examples/), benchmarks reais em [`benchmarks/`](benchmarks/) e [relatório de performance completo](docs/performance/PERFORMANCE_REPORT_v2.1.3.md).
47+
Veja 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).
4848

4949
---
5050

@@ -53,7 +53,7 @@ Veja exemplos práticos em [`examples/`](examples/), benchmarks reais em [`bench
5353
### Instalação
5454

5555
```bash
56-
composer require cafernandes/helixphp-core
56+
composer require helixphp/core
5757
```
5858

5959
### Exemplo Básico
@@ -62,8 +62,8 @@ composer require cafernandes/helixphp-core
6262
<?php
6363
require_once 'vendor/autoload.php';
6464

65-
use Express\Core\Application;
66-
use Express\Http\Psr15\Middleware\{SecurityMiddleware, CorsMiddleware, AuthMiddleware};
65+
use Helix\Core\Application;
66+
use Helix\Http\Psr15\Middleware\{SecurityMiddleware, CorsMiddleware, AuthMiddleware};
6767

6868
$app = new Application();
6969

VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.0.0

benchmarks/DOCKER_BENCHMARKS.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 🐳 Docker Benchmarks for Express PHP
1+
# 🐳 Docker Benchmarks for HelixPHP
22

33
This document explains how to run standardized benchmarks using Docker to ensure consistent results across different environments.
44

@@ -173,8 +173,8 @@ Create `benchmarks/custom_benchmark.php`:
173173
<?php
174174
require_once __DIR__ . '/../vendor/autoload.php';
175175

176-
use Express\Core\Application;
177-
use Express\Database\PDOConnection;
176+
use Helix\Core\Application;
177+
use Helix\Database\PDOConnection;
178178

179179
// Your custom benchmark code here
180180
```
@@ -316,7 +316,7 @@ jobs:
316316
317317
## 📚 Additional Resources
318318
319-
- [Express PHP Performance Guide](../docs/performance/README.md)
319+
- [HelixPHP Performance Guide](../docs/performance/README.md)
320320
- [PHP OPcache Documentation](https://www.php.net/manual/en/book.opcache.php)
321321
- [MySQL Performance Schema](https://dev.mysql.com/doc/refman/8.0/en/performance-schema.html)
322322
- [Redis Benchmarking](https://redis.io/docs/management/optimization/benchmarks/)

benchmarks/PERFORMANCE_SUMMARY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Express PHP Framework - Performance Benchmark
1+
# HelixPHP Framework - Performance Benchmark
22

33
## Test Environment
44
- **Date**: 2025-07-06 14:39:52
@@ -37,7 +37,7 @@
3737
- **Total memory for 100 apps**: 378.62 KB
3838

3939
## Performance Summary
40-
Express PHP demonstrates excellent performance characteristics:
40+
HelixPHP demonstrates excellent performance characteristics:
4141

4242
- **Best Performance**: CORS Headers Generation with 2,570,039 operations/second
4343
- **Framework Overhead**: Minimal memory usage per application instance

0 commit comments

Comments
 (0)