Back to articles
πŸš€ I Built a Simple API Monitoring Tool for Laravel (No Datadog Needed)
How-ToTools

πŸš€ I Built a Simple API Monitoring Tool for Laravel (No Datadog Needed)

via Dev.toAnirban

As a Laravel developer, I kept running into the same problem: πŸ‘‰ β€œWhat is actually happening in my APIs?” Which endpoints are being hit the most? Which requests are slow? Where are the errors happening? Most solutions like Datadog or New Relic felt: Overkill Expensive Time-consuming to set up So I built something simpler. ⚑ Introducing ApiLens A lightweight Laravel package that gives you a real-time dashboard of your API activity . No setup headaches. No external services. 🎯 What it does Logs every request (endpoint, method, status, duration) Shows recent API activity Helps identify errors (4xx / 5xx) Highlights slow endpoints Simple filter system to debug quickly πŸ“Έ Dashboard Preview πŸ“¦ Installation composer require apilens/laravel-api-lens php artisan apilens:install Open: http://localhost:8000/apilens?token=secret That’s it. 🧠 Why I built this I didn’t need: Distributed tracing Enterprise dashboards Complex setup I just needed: πŸ‘‰ A quick way to understand what my APIs are doing πŸ’‘ Who t

Continue reading on Dev.to

Opens in a new tab

Read Full Article
2 views

Related Articles