wayofdev / laravel-cycle-orm-adapter
🔥 A Laravel adapter for CycleORM, providing seamless integration of the Cycle DataMapper ORM for advanced database handling and object mapping in PHP applications.
Package info
github.com/wayofdev/laravel-cycle-orm-adapter
pkg:composer/wayofdev/laravel-cycle-orm-adapter
Fund package maintenance!
Requires
- php: ^8.3
- ext-fileinfo: *
- ext-pdo: *
- cycle/annotated: ^4.3
- cycle/database: ^2.15
- cycle/entity-behavior: ^1.7
- cycle/entity-behavior-uuid: ^1.2
- cycle/migrations: ^4.2
- cycle/orm: ^2.11
- cycle/schema-builder: ^2.11
- cycle/schema-migrations-generator: ^2.3
- cycle/schema-renderer: ^1.4
- laravel/framework: ^11.0 || ^12.0 || ^13.0
- psr/log: ^3.0
- spiral/attributes: ^3.1
- spiral/core: ^3.16
- spiral/tokenizer: ^3.16
- symfony/console: ^6.4 || ^7.3 || ^8.0
Requires (Dev)
- ext-curl: *
- ext-pdo_mysql: *
- beberlei/assert: ^3.3
- fakerphp/faker: ^1.24
- larastan/larastan: ^2.11 || ^3.9
- laravel/telescope: ^5.18
- orchestra/testbench: ^8.21 || ^9.15.0 || ^10.0 || ^11.0
- pestphp/pest: ^2.36 | ^3.5.2 | ^4.4.1
- pestphp/pest-plugin-laravel: ^2.4 || ^3.0 || ^4.0
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^1.12 || ^2.1
- phpstan/phpstan-deprecation-rules: ^1.2 || ^2.0
- phpstan/phpstan-phpunit: ^1.4 || ^2.0
- phpstan/phpstan-strict-rules: ^1.6 || ^2.0
- phpunit/phpunit: ^10.5 || ^11.5 || ^12.5
- psalm/plugin-laravel: ^3.1 || ^4.0
- psalm/plugin-phpunit: ~0.19.0
- rector/rector: ^1.2 || ^2.0
- roave/infection-static-analysis-plugin: ^1.43
- vimeo/psalm: ^6.16 || ^7.0@beta
- wayofdev/cs-fixer-config: ^1.5
Suggests
- ext-pdo_mysql: Required for MySQL database support
- ext-pdo_pgsql: Required for PostgreSQL database support
- ext-pdo_sqlite: Required for SQLite database support
- cycle/active-record: Provides a simple way to work with your database using Active Record pattern and Cycle ORM
- wayofdev/cs-fixer-config: A set of PHP-CS-Fixer rules for Laravel projects
- wayofdev/laravel-cycle-orm-factories: Cycle-ORM Entity Factories and Database Seeders for Laravel
- wayofdev/laravel-paginator: Custom Laravel Paginator for Cycle-ORM implementing RFC 5988
- wayofdev/laravel-symfony-serializer: Symfony Serializer for Laravel
This package is auto-updated.
Last update: 2026-06-18 20:09:03 UTC
README
Laravel Cycle ORM Adapter
Unlock the full potential of Domain-Driven Design in your Laravel projects with the wayofdev/laravel-cycle-orm-adapter — the adapter package that seamlessly integrates the capabilities of CycleORM — DataMapper ORM into Laravel Framework.
This adapter bridges the gap between Laravel's rapid development capabilities and Cycle ORM's Data Mapper features, enabling you to craft complex, domain-centric applications, with separation of concerns, and a clear distinction between the domain model and the persistence layer.
If you like/use this package, please consider starring ⭐️ it. Thanks!
📚 Documentation
The full documentation for the package is available at https://laravel-cycle-orm-adapter.wayof.dev.
🧩 Compatibility Map
| Laravel | Cycle ORM | Adapter | PHP Version |
|---|---|---|---|
^10.28 |
2.x |
<4.9.0 |
^8.2 |
^10.28, 11.x |
2.x |
≥4.9.0 |
^8.2 |
^10.28, 11.x, 12.x |
2.x |
5.0.0 |
^8.2 |
11.x, 12.x, 13.x |
2.x |
>5.0.0 |
^8.3 |
🙌 Want to Contribute?
Thank you for considering contributing to the wayofdev community! We are open to all kinds of contributions. If you want to:
- 🤔 Suggest a feature
- 🐛 Report an issue
- 📖 Improve documentation
- 👨💻 Contribute to the code
You are more than welcome. Before contributing, kindly check our Contributing Guide web-page for more information.
🫡 Contributors
🧱 Resources and Credits
-
Inspired by butschster's package
-
The official spiral/cycle-bridge for Spiral Framework
-
Alternative implementation of Cycle ORM for Laravel — wakebit/laravel-cycle
🌐 Social Links
- Twitter: Follow our organization @wayofdev and the author @wlotyp.
- Discord: Join our community on Discord.