invento/analytics

A custom Laravel package for Google Analytics using Spatie.

dev-master 2024-06-04 03:56 UTC

This package is not auto-updated.

Last update: 2025-03-11 08:29:53 UTC


README

Compatible with only Laravel multi-purpose CMS

  1. Install the package via Composer:

      composer require invento/analytics
    

    The package will automatically register its service provider.

  2. Optionally, publish the configuration file if you want to change any defaults:

     php artisan vendor:publish --provider="Invento\Analytics\InventoAnalyticServiceProvider"
    

You can publish separately

  1. Publish the configuration file if you want to change any defaults:

     php artisan vendor:publish --provider="Invento\Analytics\InventoAnalyticServiceProvider" --tag="analytics-config"
    
  2. Publish the view file if you want to change any defaults:

     php artisan vendor:publish --provider="Invento\Analytics\InventoAnalyticServiceProvider" --tag="analytics-views"
    
  1. Publish the lang file if you want to change any defaults:

     php artisan vendor:publish --provider="Invento\Analytics\InventoAnalyticServiceProvider" --tag="analytics-lang"
    
  1. At last clear cache and run autoload:

    php artisan optimize
    composer dump-autoload
    

Copyright and License

invento-analytics was written by [Awlad Hossain] and is released under the MIT License.

Copyright (c) 2024 Invento