Skip to content

Commit d1df5bb

Browse files
authored
Updates
1 parent ed974d7 commit d1df5bb

2 files changed

Lines changed: 110 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ All notable changes to EngineScript will be documented in this file.
44

55
Changes are organized by date, with the most recent changes listed first.
66

7+
## 2025-07-11
8+
9+
### 📦 PROJECT STRUCTURE ENHANCEMENTS
10+
- **Composer Integration**: Added comprehensive `composer.json` configuration for PHP dependency management
11+
- **PSR-4 Autoloading**: Configured namespace autoloading with `EngineScript\\` mapped to `scripts/` directory
12+
- **Development Dependencies**: Added PHPUnit for testing, PHPStan for static analysis, and PHP-CS-Fixer for code formatting
13+
- **Quality Scripts**: Integrated testing, analysis, and formatting commands for enhanced code quality workflows
14+
- **Project Metadata**: Defined project as server automation tool with appropriate licensing and keywords
15+
- **Platform Requirements**: Set PHP 8.3+ requirement to match project's modern PHP standards
16+
717
## 2025-07-10
818

919
### 🚀 MARIADB PERFORMANCE OPTIMIZATIONS

composer.json

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
{
2+
"name": "enginescript/enginescript",
3+
"description": "A High-Performance WordPress Server Built on Ubuntu and Cloudflare - LEMP server installation and configuration script for hosting WordPress sites",
4+
"type": "project",
5+
"keywords": [
6+
"wordpress",
7+
"lemp",
8+
"nginx",
9+
"mariadb",
10+
"php",
11+
"redis",
12+
"ubuntu",
13+
"cloudflare",
14+
"server-automation",
15+
"hosting",
16+
"performance",
17+
"security"
18+
],
19+
"homepage": "https://EngineScript.com",
20+
"license": "GPL-3.0-or-later",
21+
"authors": [
22+
{
23+
"name": "EngineScript Team",
24+
"homepage": "https://EngineScript.com"
25+
}
26+
],
27+
"support": {
28+
"issues": "https://github.com/EngineScript/EngineScript/issues",
29+
"source": "https://github.com/EngineScript/EngineScript",
30+
"docs": "https://github.com/EngineScript/EngineScript/blob/main/README.md"
31+
},
32+
"require": {
33+
"php": ">=8.3",
34+
"ext-json": "*",
35+
"ext-curl": "*",
36+
"ext-mbstring": "*",
37+
"ext-openssl": "*",
38+
"ext-fileinfo": "*"
39+
},
40+
"require-dev": {
41+
"phpunit/phpunit": "^11.0",
42+
"phpstan/phpstan": "^1.10",
43+
"squizlabs/php_codesniffer": "^3.8",
44+
"friendsofphp/php-cs-fixer": "^3.40"
45+
},
46+
"autoload": {
47+
"psr-4": {
48+
"EngineScript\\": "src/"
49+
},
50+
"files": [
51+
"config/var/www/admin/control-panel/api.php"
52+
]
53+
},
54+
"autoload-dev": {
55+
"psr-4": {
56+
"EngineScript\\Tests\\": "tests/"
57+
}
58+
},
59+
"scripts": {
60+
"test": "phpunit",
61+
"test:coverage": "phpunit --coverage-html coverage",
62+
"phpstan": "phpstan analyse",
63+
"cs:check": "php-cs-fixer fix --dry-run --diff",
64+
"cs:fix": "php-cs-fixer fix",
65+
"phpcs": "phpcs --standard=PSR12 config/var/www/admin/",
66+
"quality": [
67+
"@phpstan",
68+
"@cs:check",
69+
"@phpcs"
70+
]
71+
},
72+
"config": {
73+
"optimize-autoloader": true,
74+
"sort-packages": true,
75+
"allow-plugins": {
76+
"phpstan/extension-installer": true
77+
},
78+
"platform": {
79+
"php": "8.3"
80+
}
81+
},
82+
"minimum-stability": "stable",
83+
"prefer-stable": true,
84+
"archive": {
85+
"exclude": [
86+
"tests",
87+
"docs",
88+
".github",
89+
".gitignore",
90+
"phpunit.xml",
91+
"phpstan.neon",
92+
".php-cs-fixer.php"
93+
]
94+
},
95+
"extra": {
96+
"branch-alias": {
97+
"dev-main": "1.x-dev"
98+
}
99+
}
100+
}

0 commit comments

Comments
 (0)