Download the PHP package samcbdev/mail-notifier without Composer
On this page you can find all versions of the php package samcbdev/mail-notifier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download samcbdev/mail-notifier
More information about samcbdev/mail-notifier
Files in samcbdev/mail-notifier
Package mail-notifier
Short Description Mail template generation based on user's design with custom dynamic variables
License MIT
Informations about the package mail-notifier
Mail Notifier Package
The Well Organised mail Notification Manager, Ever
A custom Laravel package for dynamic mail template creation and storage in a database, with the capability to send emails using Laravel Jobs.
Features
- Dynamic Mail Templates: Create, store, and manage dynamic mail templates in the database.
- Filtering: Easily retrieve templates with custom filter conditions.
- Dynamic Content Replacement: Replace dynamic fields within templates.
- Email Sending: Send emails with support for CC, BCC, and attachments.
- Error Handling: Handles exceptions for cases where mail templates are not found.
Tech Stack
- Laravel: A PHP framework for building modern web applications.
- Composer: Dependency manager for PHP.
- MySQL: Relational database management system for storing mail templates.
-
Installation
-
Composer Install Run the following command to install the package via Composer:
-
Vendor Publish Publish the package's configuration and other necessary files:
- Migration Run Run the database migrations to create the necessary tables:
Usage Guide
-
Retrieve All Retrieve all mail templates with optional filtering:
- Retrieve One Retrieve a single mail template with filtering:
-
Store Store a new mail template:
-
Edit Edit an existing mail template:
-
Delete Delete a mail template:
-
Check Dynamic Strings Check for dynamic strings within a mail template:
- Replace Dynamic Strings and Send Mail Replace dynamic fields within a mail template and send an email: setFromAddress is opitonal functional. If needs to change the from email address and mail, add the function before senMail function.
Development
Open your favorite Terminal and run this command.
License
MIT