Library:maatify/bootstrapMaintainer: Mohamed Abdulalim (@megyptm)
Organization:Maatify.devLicense: MIT
Version: 1.0.2
Last Updated: 2025-11-13
| Version | Supported | Notes |
|---|---|---|
| 1.0.x | ✅ | Security patches + environment safety fixes |
| <1.0.0 | ❌ | Unsupported |
maatify/bootstrap is a foundational package — only the latest version receives updates.
If you discover a security vulnerability, please do NOT open a public GitHub issue. Instead, report it privately through:
- Email: security@maatify.dev
- GitHub Security Advisory: https://github.com/Maatify/bootstrap/security/advisories/new
Provide:
- Description + severity
- Steps to reproduce
- PHP version + OS
- Affected versions
- Suggested mitigation (optional)
| Step | Action | Target Time |
|---|---|---|
| 1️⃣ | Acknowledge report | ≤ 24 hours |
| 2️⃣ | Verify & reproduce | 2–5 business days |
| 3️⃣ | Patch + internal review | 5–7 days |
| 4️⃣ | Coordinate disclosure & release patch | After fix is deployed |
Because this package handles environment loading, startup logic, and safe mode, its security demands are strict:
- No
.envfile may override pre-existing system variables. .env.localand.env.testingmust never load in production.- Test environments must load via immutable snapshots only.
- Sensitive environment values are never logged.
Bootstrap::init()must never cause side effects outside its scope.- Timezone auto-setup must use safe, validated values.
- Safe Mode protects production environments from accidental misconfiguration.
- Exception traces sanitized before logging.
- No leaking of sensitive environment paths.
- Consistent behavior across CLI, web, and CI environments.
- Overwriting CI credentials
- Overwriting PHPUnit test variables
- Loading
.env.testingin production - Logging actual
.envsecrets
Protect
.env.local,.env.testing,.envfiles from public access.On production servers:
- Disable file browsing
- Ensure
.envis outside document root if possible - Use environment variables from systemd, Docker, or CI
Do not store credentials inside repository
Review Safe Mode warnings in your CI pipeline
For questions regarding security:
📧 security@maatify.dev
🌐 https://www.maatify.dev/security
© 2025 Maatify.dev — Maintained by @megyptm
Unified Bootstrap & Environment Loader for all Maatify PHP Libraries