Download the PHP package setono/client-bundle without Composer
On this page you can find all versions of the php package setono/client-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download setono/client-bundle
More information about setono/client-bundle
Files in setono/client-bundle
Package client-bundle
Short Description Integrate the client library into your Symfony application
License MIT
Informations about the package client-bundle
Track users between visits in Symfony
This bundle allows you to track your users between visits and add custom metadata to each user.
Out of the box, the bundle will store a cookie named setono_client_id
which contains the client id, a created timestamp and a last seen timestamp.
It will also create a new table with metadata for each client id. The metadata functionality is lazy loaded, so if you don't use it, it will not query the database.
Installation
To install this bundle, simply run:
Migrate your database
Usage
Access the Client
object along with some metadata
Set some metadata in an event subscriber
Access the cookie
The client id is saved in a cookie named setono_client_id
(by default). The cookie also holds other information, like
the first and last time the client was seen. You can access the cookie like this:
Configuration
Here's the configuration you are able to do:
All versions of client-bundle with dependencies
doctrine/dbal Version ^2.13 || ^3.0 || ^4.0
doctrine/doctrine-bundle Version ^2.7
doctrine/orm Version ^2.0 || ^3.0
doctrine/persistence Version ^2.5 || ^3.0
psr/event-dispatcher Version ^1.0
psr/log Version ^1.1 || ^2.0 || ^3.0
setono/client Version ^1.1.1
setono/doctrine-orm-trait Version ^1.1
symfony/config Version ^6.4 || ^7.0
symfony/dependency-injection Version ^6.4 || ^7.0
symfony/event-dispatcher Version ^6.4 || ^7.0
symfony/http-foundation Version ^6.4 || ^7.0
symfony/http-kernel Version ^6.4 || ^7.0
symfony/var-exporter Version ^6.4 || ^7.0