Download the PHP package teracrafts/huefy-laravel without Composer
On this page you can find all versions of the php package teracrafts/huefy-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download teracrafts/huefy-laravel
More information about teracrafts/huefy-laravel
Files in teracrafts/huefy-laravel
Package huefy-laravel
Short Description Laravel package for Huefy - App Mail Templates with seamless integration, service providers, and artisan commands
License MIT
Homepage https://www.huefy.dev
Informations about the package huefy-laravel
Huefy Laravel Package
The official Laravel package for Huefy - App Mail Templates. Provides seamless integration with Laravel's mail and notification systems, along with artisan commands and service providers for easy template-based email management.
Installation
Install the package via Composer:
Laravel Auto-Discovery
The package uses Laravel's auto-discovery feature, so the service provider and facade are registered automatically.
Manual Registration (if needed)
If auto-discovery is disabled, add the service provider to your config/app.php
:
Publish Configuration
Publish the configuration file:
Configuration
Add your Huefy API key to your .env
file:
Basic Usage
Using the Facade
Using Dependency Injection
Laravel Mail Integration
Configure Huefy as a mail driver in config/mail.php
:
Using with Mailables
Laravel Notification Integration
Creating a Huefy Notification
Using Route Notification
Artisan Commands
The package provides several artisan commands for managing emails:
Health Check
Check the Huefy API health status:
Send Email
Send an email using a template:
Validate Template
Validate a template with test data:
List Providers
List available email providers:
Advanced Usage
Custom Mail Transport
Create a custom mailable that uses Huefy transport:
Bulk Email Processing
Error Handling
Queue Integration
Configuration Reference
The config/huefy.php
file contains all configuration options:
Testing
Requirements
- PHP 8.1 or higher
- Laravel 9.0, 10.0, or 11.0
- Guzzle HTTP client 7.0+
License
This package is open-sourced software licensed under the MIT license.
Support
- Documentation: https://docs.huefy.dev/sdk/laravel
- Issues: GitHub Issues
- Email: [email protected]
All versions of huefy-laravel with dependencies
illuminate/support Version ^9.0|^10.0|^11.0
illuminate/console Version ^9.0|^10.0|^11.0
illuminate/mail Version ^9.0|^10.0|^11.0
illuminate/notifications Version ^9.0|^10.0|^11.0
guzzlehttp/guzzle Version ^7.0