mcn / common
Common functionality that requires database storage such as SearchStorage/View counting
Installs: 119
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:module
Requires
- php: >=5.4.0
- doctrine/orm: >=2.2
This package is not auto-updated.
Last update: 2016-03-12 10:12:17 UTC
README
Contains logic for handling common website logic
Features
- Track view counting
- Store form data requests in database (Very useful for searches)
Todo
Add an optional api resource that conforms to PhlyRestfully
for view counting
Implement strategies for handling incrementViewCountOnFirstView
1, create a hash from the current request and if unique increment view count and store hash
2, use the users id
3, both
TESTS