nicolasbeauvais / nova-sendgrid-card
A Laravel Nova card for Sendgrid
Requires
- php: >=7.1.0
- ext-json: *
- guzzlehttp/guzzle: ^6.3
- laravel/nova: *
This package is auto-updated.
Last update: 2021-04-30 16:12:58 UTC
README
Get some insight on your Sendgrid recipient count with this easy to use Nova card.
Installation
You can install the package in to a Laravel app that uses Nova via composer:
composer require nicolasbeauvais/nova-sendgrid-card
Next up, you must register the card Nova. This is typically done in the tools
method of the NovaServiceProvider
.
// in app/Providers/NovaServiceProvider.php // ... public function cards() { return [ // ... new \NicolasBeauvais\NovaSendgridCard\NovaSendgridCard, ]; }
Config
For this package to work you must define a sendgrid API key in your config/services.php
like this:
<?php return [ 'sendgrid' => [ 'key' => env('SENDGRID_API_KEY', ''), ], ];
Usage
The card only shows the total number of recipients for your Sendgrid account. Feel free to make a pull request to add more features.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email nicolasbeauvais1@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.