havvg/propel-boolean-extra-behavior
Propel ORM behavior that adds readability-focused helper methods for boolean columns. Install as a third-party behavior and enable it in schema.xml with to generate extra boolean accessor methods.
isActive() instead of getActive()) for boolean fields, which aligns with cleaner domain-driven design in PHP applications.<behavior name="boolean_extra" /> to schema.xml.null booleans, default values).isActive(), getActive()).<behavior name="boolean_extra" /> to schema.xml for target models.getActive()) with new ones (e.g., isActive()).MethodNotFound errors.getActive() → isActive()) temporarily.composer.json or issue tracker.boolean type. May need adjustments for tinyint(1) or other database-specific types.null values, default false).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Propel version incompatibility | Behavior breaks silently | Pin to exact Propel version in composer.json |
| XML schema syntax error | Build/deploy failure | Validate schema with propel:build |
| Missing accessor in production | Runtime MethodNotFound errors |
Feature flags or gradual rollout |
| Boolean field type mismatch | Accessors return incorrect values | Test with all boolean-like DB types |
| Package abandonment | No future fixes | Fork and maintain internally if critical |
How can I help you explore Laravel packages today?