Download the PHP package agoalofalife/postman without Composer
On this page you can find all versions of the php package agoalofalife/postman. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download agoalofalife/postman
More information about agoalofalife/postman
Files in agoalofalife/postman
Package postman
Short Description Schedule a task for sending e-mail
License MIT
Informations about the package postman
POSTMAN
Note Required PHP version >= 7.1
Obviously, you must have configured the database and Mail
What is it?
This package is for Laravel. Using the interface you can send the emails on schedule.
It's simple! You are creating a letter and sending it at just the right time!
You intrigued?
Read on!
Install
Installed via composer.
Before you install the package, it is important to define your language.
In file config/app.php
Note Out of the box
en
andru
.if if your version is below laravel 5.5. insert service provider :
Next, you're executing the command:
Now you can insert the template where you want.
It could be your administrative panel or what else.
now you can see your interface!
And last.. You need to work cron.
App\Console\Kernel
Custom Mode
Each letter has its own algorithm sending. Example :
- Send all as BCC
- Send all as CC For this there are routines that implement the interface
You must implement all three methods:
- getName()
- getDescription()
- postEmail()
Of the first two all clear from the title.
postEmail()
within the logic of sending.
If something is not clear you can see examples in the source code.
Once you have implemented his mode, it is necessary to specify in the configuration file and execute the command :
Config
-
You can set the column size
- List of available modes
Vue components
If you don't want to set using the templating Blade, it is possible to migrate a component to vue.
Middleware
You can define your rules in config file.