Umami Stats API for Laravel

12 minutes reading  ~  166 visits
On: 2021/10/03 - 05:42 pm
Laravel package github umami

Photo by Markus Winkler on Unsplash

hello everyone, it's been a while since any new dev talks, so here is an exciting new project. today I wrote a small package, an API wrapper for Umami website analytics. to get your stats in the Laravel app.

before I start, I strongly agree with taking control of your own data; is part of keeping the web open and free. Without holding and controlling your own data, you are allowing others to use it too - for their purposes. A strong concentration on few services allows creating personal profiles about large numbers of internet users. These profiles can be used to target ads and strengthen the online bubbles people live in. This is highly undesirable as it is detrimental to our society and freedom.

to clarify, I don't hate Google, I still use Gmail and Youtube and many other services from them, but when I can avoid using their services, I run away from them.

Degoogl Your Life!

What is Umami stats?

Umami is a simple, easy to use, self-hosted web analytics solution. The goal is to provide you with a friendlier, privacy-focused alternative to Google Analytics and a free, open-sourced alternative to paid solutions. Umami collects only the metrics you care about and everything fits on a single page. You can view a live demo here.

Umami website:

And Waht is Laravel?

Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.

Laravel website:

Then, what I did?

simply I provide a wrapper for Umami to make it easy to request from umami API inside any Laravel application, this way you can show your Stats for any website in your Umami server, and display them in your app, like inside Laravel Nove or laravel backpack, or any backend your using!

laravel umami on github
laravel-umami repo on Github

But Way?!

I was building my dashboard for atm-code site, and I needed a simple way to show all my stats and pageviews, as a result, I made this little dashboard for me, that will be easy to show all my stats from my Umami server via the API, in my Laravel app.

example of using laravel umami in my dashboard

I hope this will be useful for someone, check out the repo.

The Story Behind Artemis Wallpapers ~ my new project

I finally launched a new project, simply it's create a collage image from your instagram photos to use on your devices as a wallpaper

On: 2021/10/26 - 10:02 pm
The Story Behind Artemis Wallpapers ~ my new project

a new repo, Valet Home

a small site build with laravel to be your home page for your laravel valet sites

On: 2021/04/29 - 07:17 pm

Photo by Egor Myznik on Unsplash

a new repo, Valet Home

Saddest and Happiest

On: 2021/02/09 - 08:10 pm

Photo by Soragrit Wongsa on Unsplash

Saddest and Happiest

Social Media

we all know the effect of social media

On: 2021/09/12 - 02:51 am

Photo by Oladimeji Ajegbile on

Social Media

Life Update #6 The Kitchen

Life Update after six months of moving away from the cabin, I am finally having my own kitchen.

On: 2021/10/09 - 01:01 pm
Life Update #6 The Kitchen

Artemis Wallpapers  -  Introduction

Create aesthetic wallpapers from Instagram photos, show us your creativity by creating your wallpaper for your phone, tablet, laptop, and computer.

On: 2021/11/21 - 10:57 pm
Artemis Wallpapers  -  Introduction


On: 2021/02/04 - 02:11 am

Photo by S Turby on Unsplash


My First NPM Plugin: tailwindcss border sketch

a small plugin that adds Border Sketch Style to tailwindcss

On: 2020/05/28 - 07:26 am

My First NPM Plugin: tailwindcss border sketch