php-activerecord icon indicating copy to clipboard operation
php-activerecord copied to clipboard

ActiveRecord implementation for PHP

Results 100 php-activerecord issues
Sort by recently updated
recently updated
newest added

Uses the [Sqlsrv PDO driver from Microsoft](http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=20098) tested it using SQL Server 2005 Express. Related issue [Issue #165](https://github.com/jpfuentes2/php-activerecord/issues/165).

This repository has the old 1.0 version v1.2.0 is available here: [php-activerecord-1.2.0.zip](https://github.com/jpfuentes2/php-activerecord/files/4637084/php-activerecord-1.2.0.zip) https://www.phpactiverecord.xyz/download/ Fixes to v1.2.0 to make it PHP 7.4 compatible ActiveRecord.php // $root .= DIRECTORY_SEPARATOR . implode($directories, DIRECTORY_SEPARATOR);...

for a long time phpactiverecord is outdated, but I use it in several projects, what other platform do you recommend to migrate?

I haven't been able to track down why, but over the past couple months we've seen instances where our timestamp columns aren't DateTime objects, but instead are strings. The occurrence...

Fix the warning in ActiveRecord.php "PHP Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters"

Fixes #364, #366. This pull request has changes equal to #365 and #368, but includes tests to prove the changes works.

## The Problem If there's an eager load with a join, the relationships for "repeat" entries are not added to $__relationships, thus causing a lazy load to happen. I'm making...

count(): Parameter must be an array or an object that implements Countable in ActiveRecord\Model::find_by_pk() (line 1670 of php-activerecord/lib/Model.php) PHP 7.2

- Fixed count() error in php 7.2 - Added php 7.2 on trevis tests - Fix count() errors on phpunit tests - Change travis test php 5.3 to Precise, because...

I discovered this awhile ago. I patched my local copy to resolve the matter by extending the options in a backwards compatible way. I hope this will become part of...