Download the PHP package softwarepunt/instarecord without Composer
On this page you can find all versions of the php package softwarepunt/instarecord. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download softwarepunt/instarecord
More information about softwarepunt/instarecord
Files in softwarepunt/instarecord
Package instarecord
Short Description ActiveRecord Database ORM layer for MySQL
License MIT
Informations about the package instarecord
Instarecord
β¨ A hyper productive ORM for PHP.
Instarecord makes it super easy and fun to work with MySQL databases in PHP. It's fast and intuitive, and loaded with optional features to make your life easier.
The pitch
π§ββοΈ Define your models with typed variables, and Instarecord figures out the rest!
Features
πΊοΈ Object Mapping
Define your models as pure PHP classes with typed properties. Use them like regular objects.
π¦ Easy CRUD
Use intuitive object-oriented CRUD (create, read, update, and delete) operations on your models.
π Query Builder
Use the query builder to quickly build and run more complex queries with prepared statements.
π€ Relationships
Set up relationships between your models and easily load them in an optimized way.
β Validation
Add constraints to your model properties and validate them with user-friendly error messages.
Quickstart
Installation
Add Instarecord to your project with Composer:
Configuration
Pass your own DatabaseConfig
or modify the default one:
Use models
Defines your models by creating normal classes with public properties, and extending Model
:
Now you can create, read, update, and delete records with ease:
Run queries
You can easily build and run custom queries, and get results in various ways - from raw data to fully populated models.
From models
Standalone
All versions of instarecord with dependencies
ext-pdo Version *
ext-json Version *