0 votes
in Laravel by
What are contracts?

1 Answer

0 votes
by

Laravel Contracts are a set of interfaces with implementation methods to complete the core tasks of Laravel.

Laravel Contracts

Few examples of contracts in Laravel are Queue and Mailer. Queue contract has an implementation of Queuing jobs while Mailer contract has an implementation to send emails.

...