Download the PHP package kitpages/activity-bundle without Composer
On this page you can find all versions of the php package kitpages/activity-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download kitpages/activity-bundle
More information about kitpages/activity-bundle
Files in kitpages/activity-bundle
Download kitpages/activity-bundle
More information about kitpages/activity-bundle
Files in kitpages/activity-bundle
Vendor kitpages
Package activity-bundle
Short Description Manages activities
License MIT
Homepage https://github.com/Kitpages/KitpagesActivityBundle
Package activity-bundle
Short Description Manages activities
License MIT
Homepage https://github.com/Kitpages/KitpagesActivityBundle
Please rate this library. Is it a good library?
Informations about the package activity-bundle
KitpagesActivityBundle
Records activity of a website and display notifications on some pages.
Mostly used for rapid prototyping.
Quick Start
Create an activity
Display a list of activities in a twig template
get activities in PHP
Features :
- record activities
- attach activities to an object using reference
- attach activities to categories
- easy to display activities with a paginator and a full text filter
- filter activities by category, title, message, reference
- you can sort activities
Installation
Using Composer, just $ composer require kitpages/activity-bundle
package or:
Then add the bundle in AppKernel :
Display a list of activities in a twig template
get activity list in PHP
get all activities
get activities for a given category
get activities for all categories beginning by "payments."
principle of filter
- You can filter the fields category, title, message, url or reference.
- You can use "*" at the beginning or the end of your filter as a wildcard (everything with category beginning by "xxx" or ending by "xxx").
- You can escape the wildcard by using '*'
ordering results
By default activity list is ordered by createdAt DESC. You can specify the order :
Best practices
- the category field is used for filtering activities by category
- the reference field is used to represent the object linked to this activity (if there is an object). I imagine references like "company.15.user.23". We can then retrieve activities for the company or this user using wildcard in filters.
- The data field is used to add every information you would need linked to this activity
note : category is not mandatory in filter list.
Versions
2013-12-18 : v1.0.0
- first version
2014-11-07 : v2.0.0
- upgrade to KitpagesDataGrid 2.x
- filters on activities
- added reference, and custom data
- ordering of activity list
- better unit tests
All versions of activity-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
symfony/framework-bundle Version ~3.4.0
doctrine/orm Version ^2.5
doctrine/doctrine-bundle Version ~1.2
kitpages/data-grid-bundle Version ~3.0
symfony/event-dispatcher Version ~3.4.0
symfony/framework-bundle Version ~3.4.0
doctrine/orm Version ^2.5
doctrine/doctrine-bundle Version ~1.2
kitpages/data-grid-bundle Version ~3.0
symfony/event-dispatcher Version ~3.4.0
The package kitpages/activity-bundle contains the following files
Loading the files please wait ....