Registry / other / illuminate-contracts

illuminate-contracts

JSON →
library12.51.0phppackagistunverified

The Illuminate Contracts package - provides interfaces for Laravel services.

composer require illuminate/contracts
INSTALL
IMPORT
SIG · ILLUMINATE-CONTRAC
I
illuminate-contracts
otherphpv12.51.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Mailer
use Illuminate\Contracts\Mail\Mailer;

Use the Mailer contract interface

use Illuminate\Contracts\Mail\Mailer; function sendMail(Mailer $mailer) { $mailer->send('emails.welcome', ['user' => 'John'], function ($message) { $message->to('john@example.com'); }); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
12.51.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
Resources
illuminate-contracts — pip install illuminate-contracts · libregistry