Download the PHP package erodriguezds/active-orm without Composer
On this page you can find all versions of the php package erodriguezds/active-orm. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download erodriguezds/active-orm
More information about erodriguezds/active-orm
Files in erodriguezds/active-orm
Package active-orm
Short Description Yet another lightweight ActiveRecord ORM for PHP library is responsible for building SQL query strings, Paginate and Hydration via an object oriented PHP interface.
License MIT
Informations about the package active-orm
PHP | Query Builder | ActiveRecord ORM
PHP Query Builder and ActiveRecord-based ORM, heavily inspired in Yii2 ORM and Eloquent (Laravel ORM), but much more compact and lightweight!
Features
- A powerful and intuitive Query builder ("Query": the core class of the entire ORM), with the fluent and beatiful syntax you already know from Eloquent or Yii2 ORM:
Select Query
Getting Started
Create a new PDO instance, and pass the instance to Query:
Or, set the PDO globally, so that every new instance of Query uses it:
Prerequisites
What things you need to install the software and how to install them
Installing
Examples
select
build the query below
insert
build the query below
insert with ->execute()
update
build the query below
update with ->execute()
delete
build the query below
delete with ->execute()
where
build the query below
params
count
orderBy
build the query below
groupBy
build the query below
joins
build the query below
limit
build the query below
fetchAll
fetch
fetchOrFail
execute
paginate
Hydration
Unit Test
Versioning
We use 1.3.0
Authors
- Goldoni Fouotsa - Initial work
License
This project is licensed under the MIT License
All versions of active-orm with dependencies
ext-ds Version *