uam / propel-addressable-behavior
A Propel behavior that adds address-related fields to a table.
Installs: 797
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/uam/propel-addressable-behavior
Requires
- propel/propel1: ~1.6
This package is auto-updated.
Last update: 2025-09-29 01:40:42 UTC
README
The Addressable behavior adds address-related fields to a table.
Requirements
This behavior requires Propel >= 1.6.0.
Installation
Get the code by adding the following line to your composer.json file:
require: { "opichon/propel-addressable-behavior": "dev-master" }
Then run:
php composer.phar install
or
php composer.phar update
Configuration
Add the following to your propel.ini or build.properties file.
propel.behavior.addressable.class: AddressableBehavior
Usage
In the Propel schema
Add the behavior to the relevant table's schema definition:
<?xml version="1.0" encoding="utf-8"?> <database name="default" namespace="My\App\lib" defaultIdMethod="native"> <table name="document" phpName="Document" idMethod="native"> <!-- you column definitions --> <behavior name="addressable" /> </table> </database>