https://github.com/jeremie5/dataphyre
The powerful PHP framework behind Shopiro.ca
https://github.com/jeremie5/dataphyre
asynchronous cdn documentation-as-code fulltext-indexes fulltext-search internationalization payment-processing php php-framework php8 routing web-framework
Last synced: about 10 hours ago
JSON representation
The powerful PHP framework behind Shopiro.ca
- Host: GitHub
- URL: https://github.com/jeremie5/dataphyre
- Owner: jeremie5
- License: mit
- Created: 2024-10-24T23:07:05.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-04-29T15:47:40.000Z (14 days ago)
- Last Synced: 2025-04-29T16:46:14.488Z (14 days ago)
- Topics: asynchronous, cdn, documentation-as-code, fulltext-indexes, fulltext-search, internationalization, payment-processing, php, php-framework, php8, routing, web-framework
- Language: PHP
- Homepage: https://dataphyre.com
- Size: 2.94 MB
- Stars: 24
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README

# Dataphyre Runtime Engine for PHP
> *It knows where it is... because it knows where it isn't.*
Dataphyre is more than a framework β itβs a **modular runtime engine** designed for extreme performance, zero bloat, and real-world scalability. Whether youβre launching a side project or operating a global-scale application, Dataphyre adapts to your needs without refactoring, and without compromise.
---
### π Proven at Scale
Meet [**Shopiro**](https://shopiro.ca), a global marketplace powered by Dataphyre. With product pages processed in an incredible **30ms**βfaster than the blink of an eyeβShopiro proves whatβs possible when cutting-edge performance meets world-class scalability.
[](https://php.net)

[](https://github.com/jeremie5/dataphyre/wiki)
[](https://github.com/jeremie5/dataphyre/issues)
[](https://github.com/jeremie5/dataphyre/graphs/contributors)
[](https://github.com/jeremie5/dataphyre/stargazers)---
## Highlights
- **Live migration diffs**
Detect schema changes from your dev database and emit safe, versioned YAML migrations per table.- **Dynamic unit test generation**
Automatically generate test cases from real function calls and type shapes β zero boilerplate.- **Runtime diagnostics**
Inject trace logs, introspect module state, and verify boot sequences with granular tools.- **Modular boot structure**
Shared roots, app-specific overrides, and truly separated module scopes (`common_dataphyre`, `dataphyre`, per-app).- **Ready for scale**
Dataphyre is built to power applications that process billions of requests per day β with no third-party runtime overhead.---
## Why Dataphyre?
Unlike traditional frameworks, Dataphyre **builds with you**, not against you.
You don't need to scaffold your app around rigid conventions or dependencies β just write your code.
The runtime will optimize the rest.---
## Key Features
- **Infinite Scalability**: Handle any scale without re-architecture.
- **Modular Ecosystem**: Rich modules for caching, templating, jobs, security, and more.
- **Templating System**: Powerful features include:
- **Layout Inheritance**
- **Lazy Loading + Scoped Styles**
- **SEO & Accessibility Compliance**
- **Flexible Rendering Modes** (sync/async/partial)- **Advanced Security**:
- **CASPOW** (anti-spam POW)
- **Firewall**, **Sanitation**, **2FA**
- **Role-based Access**- **Asynchronous Processing**:
- Promises, coroutines, async tasks, scheduled jobs---
## Getting Started
### Prerequisites
- **PHP** β₯ 8.1 (JIT recommended)
- **Composer** for dependency management### Installation
```bash
git clone https://github.com/jeremie5/dataphyre.git
cd dataphyre
```---
## Module Ecosystem
### Core & Execution
- **[Core](common/dataphyre/modules/core/documentation/Dataphyre_Core.md)** β Language augments and foundational runtime hooks.
- **[Routing](common/dataphyre/modules/routing/documentation/Dataphyre_Routing.md)** β Clean, dynamic route handling with parameterized logic.
- **[Templating](common/dataphyre/modules/templating/documentation/Dataphyre_Templating.md)** β SEO-focused, async-capable rendering with scoped styles and slotting.
- **[Supercookie](common/dataphyre/modules/supercookie/documentation/Dataphyre_Supercookie.md)** β Secure, flexible JSON session & state system.### Performance & Async
- **[Async](common/dataphyre/modules/async/documentation/Dataphyre_Async.md)** β Coroutines, promises, and scheduled background tasks.
- **[Cache](common/dataphyre/modules/cache/documentation/Dataphyre_Cache.md)** β Multi-layer distributed cache layer with smart invalidation.
- **[Scheduling](common/dataphyre/modules/scheduling/documentation/Dataphyre_Scheduling.md)** β Dependency-aware cron for precise task orchestration.
- **[Perfstats](common/dataphyre/modules/perfstats/documentation/Dataphyre_Perfstats.md)** β In-app performance analytics and runtime stat tracking.### Security
- **[CASPOW](common/dataphyre/modules/caspow/documentation/Dataphyre_CASPOW.md)** β Cryptographic anti-spam proof-of-work system.
- **[Firewall](common/dataphyre/modules/firewall/documentation/Dataphyre_Firewall.md)** β Rate limiting, flood protection, CAPTCHA integration.
- **[Sanitation](common/dataphyre/modules/sanitation/documentation/Dataphyre_Sanitation.md)** β Advanced input filtering with injection-proof logic.
- **[Access](common/dataphyre/modules/access/documentation/Dataphyre_Access.md)** β Auth and role/permission management.
- **Googleauthenticator** β Drop-in two-factor authentication via TOTP.### Data & Search
- **[SQL](common/dataphyre/modules/sql/documentation/Dataphyre_SQL.md)** β Unified DB access layer with queueing, caching, and failover support.
- **[Fulltext Engine](common/dataphyre/modules/fulltext_engine/documentation/Dataphyre_Fulltext_Engine.md)** β Advanced search with stemming, tokenization, and multi-backend indexing.
- **[Currency](common/dataphyre/modules/currency/documentation/Dataphyre_Currency.md)** β Currency conversion, formatting, and exchange rate syncing.### Dev Tools
- **[Tracelog](common/dataphyre/modules/tracelog/documentation/Dataphyre_Tracelog.md)** β In-depth execution tracing with contextual argument tracking.
- **[Dpanel](common/dataphyre/modules/dpanel/documentation/Dataphyre_Dpanel.md)** β Dynamic unit testing with type-shape validation and performance benchmarking.---
## Contributing
We welcome contributions to Dataphyre!
Check the [issues tab](https://github.com/jeremie5/dataphyre/issues) or open a new one.
Please follow our [code of conduct](CODE_OF_CONDUCT.md).---
## Third-Party Libraries
Dataphyre integrates [**Adminer**](https://www.adminer.org), a lightweight database manager licensed under Apache 2.0.
License included in the `adminer` directory.---
## License
Dataphyre is MIT-licensed.
The Dataphyre trademark may not be used to endorse or promote derived products without prior written permission.
Some proprietary modules (e.g., Dataphyre CDN, A/B Testing, Stripe, NLP moderation, fraud analysis, sentinel error reporting) are **not** included and power **Shopiro**.
These may be released later under SaaS or separate licenses. Community alternatives are encouraged!