Supports Driver | MySQL ✅ / MariaDB ✅ / Postgres / ✅ MSSQL ⏳ / SQLite3 ⏳ / Oracle ⏳ |
Query Builder | Create flexible queries like SELECT , INSERT , UPDATE , and DELETE . You can also use raw SQL. |
Join Clauses | Use INNER JOIN , LEFT JOIN , RIGHT JOIN , and CROSS JOIN to combine data from multiple tables. |
Model | Provides a way to interact with database records as objects in code. You can perform create, read, update, and delete (CRUD) operations. Models also support soft deletes and relationship methods. |
Schema | Allows you to define and manage the structure of MySQL tables, including data types and relationships. Supports migrations and validation. |
Validation | Automatically checks data against defined rules before saving it to the database, ensuring data integrity and correctness. |
Sync | Synchronizes the model structure with the database, updating the schema to match the model definitions automatically. |
Soft Deletes | Marks records as deleted without removing them from the database. This allows for recovery and auditing later. |
Relationships | Set up connections between models, such as one-to-one, one-to-many, belongs-to, and many-to-many. Supports nested relationships and checks. |
Type Safety | Ensures that queries are safer by checking the types of statements like SELECT , ORDER BY , GROUP BY , and WHERE . |
Metadata | Get the metadata of a Model. |
Repository | Follows a pattern for managing database operations like SELECT , INSERT , UPDATE , and DELETE . It helps keep the code organized. |
Decorators | Use decorators to add extra functionality or information to model classes and methods, making the code easier to read. |
Caching | Improves performance by storing frequently requested data. Supports in-memory caching (like memory DB) and Redis for distributed caching. |
Migrations | Use CLI commands to create models, make migrations, and apply changes to the database structure. |
Blueprints | Create a clear layout of the database structure and how models and tables relate to each other. |
CLI | A Command Line Interface for managing models, running migrations, executing queries, and performing other tasks using commands (like make:model , migrate , and query ). |