Tag : Listener

ItSolutionStuff.com have tutorials for Listener tag, here you can study articles of Listener tag, Listener tag posts collection, most popular and useful tutorials of Listener tag, here you can find list of all relevant posts and example about Listener tag, we have lists of tutorials and examples about Listener tag. very simple and quick example collection of Latest Listener tag.

How to create Event for Mail sending in Laravel 5.2?

Events provides a simple observer implementation, allowing you to subscribe and listen for events in your application. In this posts you can learn how to create event for email send in your laravel 5.2 application. event is very help to create proper progmamming way. First create event using bellow command. <pre class="prettyprint lang-php">php artisan make:event SendMail</pre> Ok, now you can see file in this path <strong class="path">app/Events/SendMail.php</strong> and put bellow code in that file. <strong>app/Events/SendMail.php</strong> <pre class="prettyprint lang-php"> namespace App\Ev.....

By Hardik Savani | March 13, 2016 | | 79466 Viewer | Category : PHP Laravel