Micro Active Record library in PHP, supports chain calls, events, and relations.
MIT License
Bot releases are visible (Hide)
Full Changelog: https://github.com/flightphp/active-record/compare/v0.4.8...v0.4.9
Published by n0nag0n 4 months ago
Full Changelog: https://github.com/flightphp/active-record/compare/v0.4.7...v0.4.8
Published by n0nag0n 5 months ago
Full Changelog: https://github.com/flightphp/active-record/compare/v0.4.6...v0.4.7
Published by n0nag0n 5 months ago
runway
command for ActiveRecord. Ex: runway make:record users
by @n0nag0nFull Changelog: https://github.com/flightphp/active-record/compare/v0.4.5...v0.4.6
Published by n0nag0n 5 months ago
Full Changelog: https://github.com/flightphp/active-record/compare/v0.4.4...v0.4.5
Published by n0nag0n 5 months ago
Full Changelog: https://github.com/flightphp/active-record/compare/v0.4.3...v0.4.4
Published by n0nag0n 6 months ago
isHydrated
is not set to false when a record is reset()
#10 - Thanks @starfishpatkhooFull Changelog: https://github.com/flightphp/active-record/compare/v0.4.2...v0.4.3
Published by n0nag0n 6 months ago
insert()
was not marking the record as hydratedinsert()
was assuming that all primary keys were ints (or rowids)save()
to check for a primary key if supplied, and also a hydrated record. It was improperly checking for insert before.$MyRecord->my_text_pk
or in a beforeInsert()
method.Full Changelog: https://github.com/flightphp/active-record/compare/v0.4.1...v0.4.2
Published by n0nag0n 7 months ago
$Record->getBuiltSql()
after your method has run.Full Changelog: https://github.com/flightphp/active-record/compare/v0.4.0...v0.4.1
Published by n0nag0n 8 months ago
Full Changelog: https://github.com/flightphp/active-record/compare/v0.3.2...v0.4.0
Published by n0nag0n 8 months ago
Full Changelog: https://github.com/flightphp/active-record/compare/v0.3.1...v0.3.2
Published by n0nag0n 8 months ago
beforeInsert()
events didn't fire at the correct time.Full Changelog: https://github.com/flightphp/active-record/compare/v0.3.0...v0.3.1
Published by n0nag0n 8 months ago
clearData()
to reset()
with an additional param to clear out query data as well.delete()
to handle multiple records at the same time.Full Changelog: https://github.com/flightphp/active-record/compare/v0.2.4...v0.3.0
Published by n0nag0n 8 months ago
Full Changelog: https://github.com/flightphp/active-record/compare/v0.2.3...v0.2.4
Published by n0nag0n 8 months ago
Full Changelog: https://github.com/flightphp/active-record/compare/v0.2.2...v0.2.3
Published by n0nag0n 9 months ago
Full Changelog: https://github.com/flightphp/active-record/compare/v0.2.1...v0.2.2
Published by n0nag0n 9 months ago
A few mysqli related bug fixes
Published by n0nag0n 9 months ago
Full Changelog: https://github.com/flightphp/active-record/compare/v0.1.1...v0.2.0
Published by n0nag0n 9 months ago
Published by n0nag0n 9 months ago
First release!