dev-master
9999999-devSymfony Mouse Tracker
MIT
The Requires
by Ali Ben Macha
framework symfony flow tracker mouse heatmap
1.0.0
1.0.0.0Symfony Mouse Tracker
MIT
The Requires
by Ali Ben Macha
framework symfony flow tracker mouse heatmap
Wallogit.com
2017 © Pedro Peláez
Symfony Mouse Tracker
, (*1)
Add the benmacha/mousetracker package to your require section in the composer.json file., (*3)
``` bash $ composer require benmacha/mousetracker dev-master, (*4)
Add the MouseTrackerBundle to your application's kernel: ``` php <?php public function registerBundles() { $bundles = array( // ... new benmacha\mousetracker\TrackerBundle(), // ... ); ... }
Configure the Tracker in your routing.yml:, (*5)
``` yaml mouse_tracker: resource: "@TrackerBundle/Controller/" type: annotation prefix: /tracker, (*6)
Configure the `Tracker` in your `config.yml`: ``` yaml imports: - { resource: "@TrackerBundle/Resources/config/services.yml" } twig: globals: mousetrackerService: @twig_tracker assetic: filters: scssphp: formatter: 'Leafo\ScssPhp\Formatter\Compressed' jsqueeze: ~
Create Table:, (*7)
``` bash $ php app/console doctrine:schema:update --force, (*8)
Dump js and css file ``` bash $ php app/console assetic:dump
Configure the TrackerService before the end of Body tag in your *.html.twig page:, (*9)
``` twig, (*10)
{{ mousetrackerService.build() }}, (*11)
, (*12)
```, (*13)
Symfony Mouse Tracker
MIT
framework symfony flow tracker mouse heatmap
Symfony Mouse Tracker
MIT
framework symfony flow tracker mouse heatmap