Statistics API

Advanced information for expert users.

Models

  • Laralum\Statistics\Models\View

    • countSameUrl($uniqueUsers = false)

      Return number of total views with same next_url than current view.

    • countSameBrowser($uniqueUsers = false)

      Return number of total views with same browser than current view.

    • countSameOS($uniqueUsers = false)

      Return number of total views with same OS than current view.

    • addView()

      Inserts a row into database with the user id, user ip, user browser, user browser version, user OS, user OS version, locale, browser_locale, and link requested by use.

    • getIP()

      Get the reals user ip.

Did you know?

Laralum is translated with aitor24/laralang, a translation package able to autogenerate php translations files.


Donations

Please consider donating if you liked the project, we currently have no funding and we're spending a lot of time maintaining and developing this project.


The creators

Èrik Campobadal Forés

Aitor Riba Archilla


Major Contributors

Krishan König

Laraketai

Snow McFox