Skip to content

rouuuge/laravel-package

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Analytics logo

Laravel Package for simpleanalytics.com

Installing it

Install the plugin:

  1. Add repositories in composer.json
"repositories": [
   {
     "url": "https://github.com/simpleanalytics/laravel-package",
      "type": "git"
    }
 ],
  1. Add the package name in require with the branch name after the dev:

"simpleanalytics/laravel-package": "dev-main"

Using it

Include the scripts before your end body tag in your .blad template:

    ...
    @include('simple-analytics::scripts')
</body>

Configuration

The defaults are set in config/cors.php. Publish the config to copy the file to your own config:

php artisan vendor:publish --provider="simpleanalytics\laravel-package\SimpleAnalyticsServiceProvider" --tag="config"

Hints

With version 5.4 or below, you must register your service providers manually in the providers section of the config/app.php configuration file in your laravel project.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 91.7%
  • Blade 8.3%