Download the PHP package apilens/laravel-api-lens without Composer
On this page you can find all versions of the php package apilens/laravel-api-lens. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download apilens/laravel-api-lens
More information about apilens/laravel-api-lens
Files in apilens/laravel-api-lens
Package laravel-api-lens
Short Description API request logger and dashboard for Laravel
License MIT
Informations about the package laravel-api-lens
โญ If you find this useful, give it a star
๐ ApiLens โ Instant API Monitoring for Laravel
Stop guessing what your APIs are doing.
ApiLens gives you a real-time dashboard of your Laravel application's requests โ without setting up complex tools like Datadog or NewRelic.
โก Why ApiLens?
- โก Zero setup โ install and start tracking instantly
- ๐ See every request โ endpoint, status, duration
- ๐จ Spot errors fast โ 4xx / 5xx tracking
- ๐ข Detect slow APIs โ performance insights
- ๐งฉ Built for Laravel โ no external services
๐ธ Dashboard Preview
(Add your screenshot here:
docs/dashboard.png)
๐ฏ Perfect For
- Laravel developers
- Freelancers building APIs
- Startups needing quick visibility
- Debugging production issues
๐ Features
- Request logging (endpoint, method, status, time)
- Error tracking
- Top endpoints
- Slow endpoints
- Filters (status, endpoint)
- Built-in dashboard (
/apilens) - Simple token-based access control
- Database + log transport support
๐ฆ Installation
โ๏ธ Setup (Recommended)
Before installing, configure your .env:
Then run:
This will:
- Run migrations
- (Optional) publish config
- Guide you to next steps
๐ Usage
Open your browser:
๐ Security
ApiLens uses simple token-based protection:
You can disable auth in config if needed.
โ๏ธ Configuration
(Optional โ publish only if you want to customize)
Config file:
๐ Database
Migrations are loaded automatically from the package.
You only need:
You do NOT need to publish migrations unless you want to modify them.
๐ Transport Options
Available:
databaseโ stores logs in DBlogโ stores logs in file
๐ง How It Works
- Middleware captures request + response
- Event is created
- Tracker sends data to transport
- Transport stores logs (DB/file)
- Dashboard visualizes data
๐งช Quick Test
Hit any route:
Refresh dashboard โ see logs instantly
๐ Development (Local Package)
๐ง Roadmap
- ๐ Charts & analytics
- โฑ Time-based filters
- ๐ Alerts (Slack/email)
- ๐ SaaS dashboard (multi-project)
๐ค Contributing
PRs are welcome.
๐ License
MIT