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
Mailin Api Php

Mailin Api Php Laravel Package

mailin-api/mailin-api-php

PHP client for Brevo's (formerly Sendinblue) transactional email and SMS API. Send messages, manage contacts and lists, and track events with a lightweight wrapper that drops easily into Laravel or any PHP project.

Deep Wiki
Context7

Official Mailin provided API wrapper.

Frequently asked questions about Mailin Api Php
Does mailin-api-php work with Laravel?
It can be installed in a Laravel project because it is Composer-ready, but it is not a Laravel package. It has no service provider, facade, config publishing, or queue integration, so you would need to wrap it yourself. For new Laravel work, it should not be a first-class dependency.
How do I install mailin-api/mailin-api-php with Composer?
You would typically run composer require mailin-api/mailin-api-php, but the package dates to 2017 and may conflict with modern Laravel and PHP dependency constraints. Run a throwaway compatibility spike on your target PHP and Laravel versions first. If it resolves, pin an exact version or a reviewed fork rather than relying on a floating constraint.
Is mailin-api-php compatible with PHP 8 and modern Laravel versions?
There is no reliable evidence of PHP 8.x support for this 2017-era package. It likely carries old Guzzle or cURL dependencies, deprecated PHP syntax, and missing PSR compliance. Do not assume compatibility with modern Laravel versions; test it in a disposable branch before committing.
What can I do with the Brevo (Sendinblue) Mailin API client?
It wraps the Brevo, formerly Sendinblue, Mailin REST API for transactional email and SMS. You can manage contacts, lists, attributes, and templates, work with campaigns, and retrieve account or statistics data. It handles authentication and request and response formatting through a simple PHP interface.
Should I use mailin-api-php for transactional email in a new Laravel app?
No, it should not be adopted for new Laravel work. The package is archived, last released in 2017, and is a plain PHP API wrapper rather than a Laravel-native integration. Use Laravel's HTTP client or a maintained Brevo SDK instead, and reserve this package only for contained legacy adapters.
How do I integrate Mailin API into Laravel if I must use this package?
Isolate it as a MailTransport implementation bound through a Laravel service provider and keep vendor classes out of controllers, jobs, and domain services. Add configuration through environment variables rather than hard-coded keys, and wrap the vendor calls behind an internal mail interface. Run a compatibility spike on the target runtime, then add integration tests against a sandbox or mocked HTTP layer. Use shadow or canary traffic before cutover and document the integration as technical debt.
Does mailin-api-php support Laravel queues, facades, or service providers?
No, it is a plain PHP API wrapper with no Laravel service provider, facade, config publishing, or queue integration. You can build queue jobs or a custom mail transport around it, but those are your responsibility. It also lacks Laravel-native HTTP abstractions, retry, timeout, and observability patterns.
What are the alternatives to mailin-api-php for Laravel?
For new Laravel applications, use Laravel's HTTP client to call the Brevo API directly or adopt a maintained Brevo SDK. A provider-agnostic mail transport or a thin internal adapter is safer than depending on this archived wrapper. If Mailin-specific legacy use is unavoidable, wrap it behind an interface with a funded migration path.
Is mailin-api-php maintained, and what are the production risks?
The package is archived, was last released in 2017, and has a small community footprint. Its unknown repository metadata weakens provenance and supply-chain confidence, and it likely lacks modern TLS, retry, timeout, error-mapping, and observability support. Production risks include PHP compatibility fatals, dependency conflicts, rate limiting, API deprecation or shutdown, and silent delivery failures. The team must own a fork or vendor patch process and document runbooks for credential rotation and API changes.
How should I test mailin-api-php in a Laravel application?
Start with a compatibility spike in a disposable branch against your exact PHP and Laravel versions. Mock the HTTP layer or use a sandbox for integration tests covering auth failures, rate limiting, malformed responses, and delivery tracking. Keep credentials out of production paths, add structured logging and delivery metrics, and use shadow or canary traffic before cutover.
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