PHP code example of inboxcom / mailcore-laravel

1. Go to this page and download the library: Download inboxcom/mailcore-laravel library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

inboxcom / mailcore-laravel example snippets


use Inboxcom\Mailcore\Laravel\Facades\Mailcore;

$users = Mailcore::users()->list(filter: '*');
$user  = Mailcore::users()->get('[email protected]');

use Inboxcom\Mailcore\MailcoreClient;

public function __construct(private MailcoreClient $mailcore) {}
bash
php artisan vendor:publish --tag=mailcore-config