Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Moesif Laravel

Moesif Laravel Laravel Package

moesif/moesif-laravel

Laravel middleware that captures API calls and sends request/response data to Moesif for analytics, monitoring, and monetization. A quick drop-in way to log API traffic, track usage, and debug issues in Laravel apps.

View on GitHub
Deep Wiki
Context7

Moesif Laravel Middlware

Frequently asked questions about Moesif Laravel
What is moesif/moesif-laravel used for?
It is a Laravel middleware wrapper for Moesif API analytics and monetization. It captures API calls and sends request/response data to Moesif so teams can log traffic, track usage, and debug issues. It is an integration accelerator for apps already using or evaluating Moesif, not a standalone observability platform.
How do I install and configure moesif/moesif-laravel in a Laravel app?
Install it with Composer, publish the package config, and set your Moesif application ID. Register the middleware globally or only on API routes, then tune capture, sampling, and redaction rules before sending real traffic. Because the package surface is small, a short non-production spike is the fastest way to validate fit.
Which Laravel and PHP versions does moesif/moesif-laravel support?
The provided materials do not include a confirmed Laravel and PHP version matrix, so verify compatibility before adoption. Test against your exact Laravel/PHP versions, middleware groups, auth enrichment, queue workers, Octane, and custom response types. Also pin the package and review transitive dependencies such as the Moesif PHP SDK and HTTP client constraints.
Is moesif/moesif-laravel officially maintained and supported by Moesif?
Vendor support and official maintenance status are not confirmed in the provided evaluation, so ask Moesif directly. The package has low community adoption, which means fewer public examples and community answers. If support is community-only, do not rely on it for critical incident telemetry without internal ownership and documentation.
What data does moesif/moesif-laravel capture, and how do I redact sensitive fields?
The middleware captures API request and response data for Moesif, and the evaluation flags accidental PII capture in headers or bodies as a key risk. The exact default capture rules are not specified here, so review them in a non-production environment. Configure explicit redaction and sampling, add redaction tests, and avoid sending sensitive fields.
Does moesif/moesif-laravel work with Laravel Octane, queues, and streaming responses?
Octane compatibility, queue worker behavior, streaming responses, and authenticated-user enrichment are listed as items that need explicit validation. Do not assume they work out of the box just because the package is Laravel middleware. Test these paths in staging with representative API traffic before a production canary.
Is Moesif middleware delivery synchronous or asynchronous, and what happens during an outage?
The evaluation warns that delivery may be synchronous if calls are not buffered asynchronously, which can add latency during Moesif timeouts or outages. The provided materials do not confirm async delivery or fail-open behavior, so verify both. Require fail-open handling, alerting, and a kill switch before relying on it in production.
What license does moesif/moesif-laravel use, and can I use it commercially?
The license is marked NOASSERTION, so legal review is required before commercial use or redistribution. The provided materials do not state the actual license terms or redistribution policy. Treat license approval as a gating step alongside security and vendor review.
How does moesif/moesif-laravel affect performance in high-throughput Laravel APIs?
Per-request middleware adds CPU and network overhead, and high-volume APIs should be capacity tested. Use sampling and batching or async delivery if available, and monitor egress, Moesif ingestion limits, queue backlog, and cost growth. Start with a small production canary and a rollback plan.
Are there alternatives to moesif/moesif-laravel for Laravel API analytics?
If your organization is not standardized on Moesif, needs self-hosted analytics, or cannot send telemetry to a third party, this package is a poor fit. Alternatives should be evaluated against your existing logs, APM, and observability stack rather than chosen as a drop-in replacement. Run a buy-vs-build and vendor review before committing.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core