Registry / orm / php-activerecord-php-activerecord

php-activerecord-php-activerecord

JSON →
library1.2.0phppackagistunverified

php-activerecord is an open source ORM library based on the ActiveRecord pattern.

composer require php-activerecord/php-activerecord
INSTALL
IMPORT
SIG · PHP-ACTIVERECORD-P
P
php-activerecord-php-activerecord
ormphpv1.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Model
use ActiveRecord\Model;

Define a model and fetch a record using ActiveRecord pattern.

use ActiveRecord\Model; class User extends Model {} $user = User::find(1); echo $user->name;
Debug
Known issues
breakingLibrary is not actively maintained; may have compatibility issues with PHP 8+.
fix
Consider using an alternative ORM like Eloquent or Doctrine.
affects: >=1.2.0
Upgrade
Version history
1.2.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
30
Resources
php-activerecord-php-activerecord — pip install php-activerecord-php-activerecord · libregistry