Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
jpfuentes2
/
php-activerecord
Public
Notifications
You must be signed in to change notification settings
Fork
431
Star
1.3k
Code
Issues
147
Pull requests
62
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
[WIP] 1.1 Updates
- #430
#430
Open
koenpunt
wants to merge 60 commits into
master
jpfuentes2/php-activerecord:master
from
1.1-dev
jpfuentes2/php-activerecord:1.1-dev
Copy head branch name to clipboard
Conversation
Commits
60
(60)
Checks
Files changed
Open
[WIP] 1.1 Updates
#430
koenpunt
wants to merge 60 commits into
master
jpfuentes2/php-activerecord:master
from
1.1-dev
jpfuentes2/php-activerecord:1.1-dev
Copy head branch name to clipboard
Commits
Commits on Jul 8, 2013
Allow custom setter methods to run for aliased attributes (fixes #350)
Show description for cf93036
leightonshank
committed
cf93036
View commit details
Copy full SHA for cf93036
Browse repository at this point
Commits on Jan 17, 2015
Remove require_once from inside functions
andyleap
authored and
koenpunt
committed
7e58a68
View commit details
Copy full SHA for 7e58a68
Browse repository at this point
remove all carriage returns <CR>
koenpunt
committed
dc13eee
View commit details
Copy full SHA for dc13eee
Browse repository at this point
normalize file endings
koenpunt
committed
65d5c48
View commit details
Copy full SHA for 65d5c48
Browse repository at this point
Added option for multiple model directories
koenpunt
committed
7de8cd3
View commit details
Copy full SHA for 7de8cd3
Browse repository at this point
Added tests
koenpunt
committed
9f150f9
View commit details
Copy full SHA for 9f150f9
Browse repository at this point
Adding custom support for boolean casting based on connection
Show description for c8bb4b9
leightonshank
authored and
koenpunt
committed
c8bb4b9
View commit details
Copy full SHA for c8bb4b9
Browse repository at this point
Updated ColumnTest for new BOOLEAN type cast
leightonshank
authored and
koenpunt
committed
1bd40ea
View commit details
Copy full SHA for 1bd40ea
Browse repository at this point
fixed indentation formatting to match existing code
leightonshank
authored and
koenpunt
committed
9800a13
View commit details
Copy full SHA for 9800a13
Browse repository at this point
Updated tests for boolean value casting
Show description for b960575
leightonshank
authored and
koenpunt
committed
b960575
View commit details
Copy full SHA for b960575
Browse repository at this point
Updated PgsqlAdapter boolean_to_string() for Postgres boolean values
Show description for 71fe0d4
leightonshank
authored and
koenpunt
committed
71fe0d4
View commit details
Copy full SHA for 71fe0d4
Browse repository at this point
Shortened the false condition in PgsqlAdapter::boolean_to_string()
Show description for 09e6207
leightonshank
authored and
koenpunt
committed
09e6207
View commit details
Copy full SHA for 09e6207
Browse repository at this point
Added some newlines for readability.
Taddeus Kroes
authored and
koenpunt
committed
f892c2c
View commit details
Copy full SHA for f892c2c
Browse repository at this point
Implemented 'on' option for validations.
Taddeus Kroes
authored and
koenpunt
committed
5cbb536
View commit details
Copy full SHA for 5cbb536
Browse repository at this point
Added tests for on create/update/save
koenpunt
committed
b2e2337
View commit details
Copy full SHA for b2e2337
Browse repository at this point
Only flag attributes as dirty if the value changes
Show description for c815875
leightonshank
authored and
koenpunt
committed
c815875
View commit details
Copy full SHA for c815875
Browse repository at this point
Added tracking of changed attributes
Show description for 4f209d9
leightonshank
authored and
koenpunt
committed
4f209d9
View commit details
Copy full SHA for 4f209d9
Browse repository at this point
Fix handling of changed DateTime attributes
Show description for 6770e71
leightonshank
authored and
koenpunt
committed
6770e71
View commit details
Copy full SHA for 6770e71
Browse repository at this point
Fix so that empty attributes still track a change
leightonshank
authored and
koenpunt
committed
53b9951
View commit details
Copy full SHA for 53b9951
Browse repository at this point
Fix PgsqlAdapter native types, default values.
Show description for b958b05
Justin Painter
authored and
koenpunt
committed
b958b05
View commit details
Copy full SHA for b958b05
Browse repository at this point
fix indentation
koenpunt
committed
198fc20
View commit details
Copy full SHA for 198fc20
Browse repository at this point
require Expressions by default
Show description for 044b0e1
koenpunt
committed
044b0e1
View commit details
Copy full SHA for 044b0e1
Browse repository at this point
Make sure that the primary key is stored in lowercase
Show description for 52f422a
kamranvighio
authored and
koenpunt
committed
52f422a
View commit details
Copy full SHA for 52f422a
Browse repository at this point
Allows for aliased methods in serialization, so we can do stuff like `$model->to_array(['methods' => ['get_name' => 'name']]);`
igorsantos07
authored and
koenpunt
committed
427a419
View commit details
Copy full SHA for 427a419
Browse repository at this point
add test for serialization method alias
koenpunt
committed
1d4f312
View commit details
Copy full SHA for 1d4f312
Browse repository at this point
Commits on Feb 16, 2015
cast count result as integer
Show description for 8bfb68b
daniel-aranda
committed
8bfb68b
View commit details
Copy full SHA for 8bfb68b
Browse repository at this point
Commits on Jun 3, 2017
FIX jpfuentes2#361
Show description for 8b0b67e
nicknill
authored and
koenpunt
committed
8b0b67e
View commit details
Copy full SHA for 8b0b67e
Browse repository at this point
make string buildup more readable
Show description for 9e8c27b
koenpunt
committed
9e8c27b
View commit details
Copy full SHA for 9e8c27b
Browse repository at this point
Refactor is_hash()
Kevin Foster
authored and
koenpunt
committed
14e926a
View commit details
Copy full SHA for 14e926a
Browse repository at this point
Merge pull request #483 from getloaded/custom-setter-for-aliased-attribute
Show description for 1523023
koenpunt
committed
1523023
View commit details
Copy full SHA for 1523023
Browse repository at this point
Merge pull request #492 from daniel-aranda/model_cast_count_as_integer
Show description for 352e1b6
koenpunt
committed
352e1b6
View commit details
Copy full SHA for 352e1b6
Browse repository at this point
Merge branch 'master' into 1.1-dev
koenpunt
committed
c03d7b5
View commit details
Copy full SHA for c03d7b5
Browse repository at this point
Feature: StrongParameters
Show description for bdbaebb
koenpunt
committed
bdbaebb
View commit details
Copy full SHA for bdbaebb
Browse repository at this point
Require StrongParameters
koenpunt
committed
16e6f4b
View commit details
Copy full SHA for 16e6f4b
Browse repository at this point
add requireParam and fetch function
koenpunt
committed
14ef260
View commit details
Copy full SHA for 14ef260
Browse repository at this point
add some docblocks
koenpunt
committed
f941f45
View commit details
Copy full SHA for f941f45
Browse repository at this point
is_valid don't always revalidate the model. Added test also.
iazel
authored and
koenpunt
committed
ab0432c
View commit details
Copy full SHA for ab0432c
Browse repository at this point
fix whitespace and coding style
koenpunt
committed
f7241b5
View commit details
Copy full SHA for f7241b5
Browse repository at this point
separate connection string parsing from connection
koenpunt
committed
e3d6a56
View commit details
Copy full SHA for e3d6a56
Browse repository at this point
use parse_str for query string parsing
Show description for b7c617e
koenpunt
committed
b7c617e
View commit details
Copy full SHA for b7c617e
Browse repository at this point
use factual decode param checking
koenpunt
committed
7d611e1
View commit details
Copy full SHA for 7d611e1
Browse repository at this point
use sscanf instead of regex
Show description for a90e8cd
koenpunt
committed
a90e8cd
View commit details
Copy full SHA for a90e8cd
Browse repository at this point
assert database name for unix socket
koenpunt
committed
5a6f015
View commit details
Copy full SHA for 5a6f015
Browse repository at this point
check if property exists before assignment
Show description for 35bf5f1
koenpunt
committed
35bf5f1
View commit details
Copy full SHA for 35bf5f1
Browse repository at this point
build ConnectionInfo objects on instantiation
koenpunt
committed
3781525
View commit details
Copy full SHA for 3781525
Browse repository at this point
add array example
koenpunt
committed
7c8eaa8
View commit details
Copy full SHA for 7c8eaa8
Browse repository at this point
rename protocol to adapter
koenpunt
committed
4507f7f
View commit details
Copy full SHA for 4507f7f
Browse repository at this point
Commits on Jun 4, 2017
add docblocks
koenpunt
committed
d447040
View commit details
Copy full SHA for d447040
Browse repository at this point
Commits on Jun 11, 2017
use is_hash instead of is_array
koenpunt
committed
290089b
View commit details
Copy full SHA for 290089b
Browse repository at this point
add snake_case alias for requireParam
koenpunt
committed
59d8427
View commit details
Copy full SHA for 59d8427
Browse repository at this point
implement ArrayAccess
Show description for 939dc78
koenpunt
committed
939dc78
View commit details
Copy full SHA for 939dc78
Browse repository at this point
resolve test issues
Show description for 74ac838
koenpunt
committed
74ac838
View commit details
Copy full SHA for 74ac838
Browse repository at this point
update naming of validated flag
koenpunt
committed
5af90ef
View commit details
Copy full SHA for 5af90ef
Browse repository at this point
simplify docblock for is_valid
koenpunt
committed
2f23190
View commit details
Copy full SHA for 2f23190
Browse repository at this point
Merge pull request #480 from koenpunt/strong-parameters
Show description for c3bf5ba
koenpunt
authored
c3bf5ba
View commit details
Copy full SHA for c3bf5ba
Browse repository at this point
Merge pull request #464 from jpfuentes2/Iazel-hmt-and-is_valid-fixes
Show description for 39343c1
koenpunt
authored
39343c1
View commit details
Copy full SHA for 39343c1
Browse repository at this point
Commits on Jun 12, 2017
failing test for #68
koenpunt
committed
54f8d4f
View commit details
Copy full SHA for 54f8d4f
Browse repository at this point
Fix for issue 68: relationship references wrong table
Show description for 9c43bdb
jmoberley
authored and
koenpunt
committed
9c43bdb
View commit details
Copy full SHA for 9c43bdb
Browse repository at this point
Merge pull request #436 from jpfuentes2/jmoberley-issue_68
Show description for 05b3277
koenpunt
authored
05b3277
View commit details
Copy full SHA for 05b3277
Browse repository at this point
Merge pull request #494 from koenpunt/array-connection-info
Show description for d5f1895
koenpunt
authored
d5f1895
View commit details
Copy full SHA for d5f1895
Browse repository at this point
You can’t perform that action at this time.