Features
Behaviors
Behaviors offer the ability to have plug-n-play functionality for your models. Doctrine has several behaviors that come bundled with it. Check out the list below:
- Timestampable - Adds and sets a created_at and updated_at column on your models.
- Sluggable - Adds a unique text 'slug' which can be used for search engine friendly urls.
- I18n - Adds internationalization abilities to your models.
- Geographical - Adds a latitude/longitude column to your models. Calculate miles/kilometers between records.
- Versionable - Turn your models in to an audit log.
- Searchable - Add search indexing to your models.
- NestedSet - Turn your models in to a nested set/tree structure.
In addition to these core behaviors, you can easily write your own behaviors and re-use them across all your projects
Read more about Behaviors here