2017 © Pedro Peláez
 

library simple-analytics

Laravel package for implementing simple analytics

image

bartoszf/simple-analytics

Laravel package for implementing simple analytics

  • Friday, November 3, 2017
  • by BartoszF
  • Repository
  • 1 Watchers
  • 1 Stars
  • 30 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

BartoszF/SimpleAnalytics

Laravel Source License, (*1)

Laravel package for implementing simple analytics, (*2)

Table of Contents

Requirements

  • This package requires PHP 5.6+
  • As for now, you need Auth facade with user.

Getting Started

  1. Require the package in your composer.json and update your dependency with composer update:
"require": {
...
"bartoszf/simple-analytics": "~0.8",
...
},
  1. Add the package to your application service providers in config/app.php.
'providers' => [

Illuminate\Foundation\Providers\ArtisanServiceProvider::class,
Illuminate\Auth\AuthServiceProvider::class,
...
BartoszF\SimpleAnalytics\AnalyticsServiceProvider::class,

],
  1. Publish the package migrations to your application and run these with php artisan migrate.
$ php artisan vendor:publish --provider="BartoszF\SimpleAnalytics\AnalyticsServiceProvider"
  1. Add the middleware to your app/Http/Kernel.php.
protected $routeMiddleware = [

....
'analytics' => BartoszF\SimpleAnalytics\Middleware\ReportUserRouteMiddleware::class,

];
  1. Adjust view as you wish (probably extend it with your app layout), (*3)

  2. Add analytics middleware to your routes from wich you want to get details., (*4)

Contribution Guidelines

Support follows PSR-2 PHP coding standards, and semantic versioning., (*5)

Please report any issue you find in the issues page. Pull requests are welcome., (*6)

The Versions

03/11 2017

dev-master

9999999-dev https://github.com/BartoszF/SimpleAnalytics

Laravel package for implementing simple analytics

  Sources   Download

MIT

The Requires

  • php ^5.6 || ^7.0

 

laravel analytics auth eloquent

03/11 2017

v0.8.6

0.8.6.0 https://github.com/BartoszF/SimpleAnalytics

Laravel package for implementing simple analytics

  Sources   Download

MIT

The Requires

  • php ^5.6 || ^7.0

 

laravel analytics auth eloquent

03/11 2017

v0.8.5

0.8.5.0 https://github.com/BartoszF/SimpleAnalytics

Laravel package for implementing simple analytics

  Sources   Download

MIT

The Requires

  • php ^5.6 || ^7.0

 

laravel analytics auth eloquent

03/11 2017

v0.8.1

0.8.1.0 https://github.com/BartoszF/SimpleAnalytics

Laravel package for implementing simple analytics

  Sources   Download

The Requires

  • php ^5.6 || ^7.0

 

laravel analytics auth eloquent

03/11 2017

v0.8

0.8.0.0 https://github.com/BartoszF/SimpleAnalytics

Laravel package for implementing simple analytics

  Sources   Download

The Requires

  • php ^5.6 || ^7.0

 

laravel analytics auth eloquent