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 this is for
- Laravel developers
- Freelancers building APIs
- Startups that need quick visibility
- Anyone debugging backend issues
βοΈ ApiLens vs Datadog
| Feature | ApiLens | Datadog |
|---|---|---|
| Setup | 1 min | Complex |
| Cost | Free | Paid |
| Focus | Laravel | Generic |
| Use case | Dev + small teams | Enterprise |
π§ Whatβs coming next
- Time-based filters
- Charts & analytics
- Alerts
- SaaS version (multi-project dashboard)
π¬ Feedback
Would love your thoughts π
- What features would you want?
- Would you use something like this?

Top comments (0)