#Basic Idea( Source code)
- install Guzzle HTTP library :
composer require guzzlehttp/guzzle
- [sign up to mailgun] (http://www.mailgun.com)
- Go to
Domains
tab and click on domains - You will find the necessary data for
.env
setup- MAIL_DRIVER=mailgun
- MAIL_HOST=smtp.mailgun.org
- MAIL_PORT=587
- MAIL_USERNAME=[email protected]
- MAIL_PASSWORD=502fd951f7------------------------
When you will read about Laravel Task Scheduling, you may confuse how to add Cron entries to your server
. This section will help you to rosolve your confusion.
Let's assume your project name is
MyBlog
and the location of your project is/var/www/MyBlog
.
- open your terminal and run
crontab -e
- add
* * * * * php /var/www/MyBlog/artisan schedule:run >> /dev/null 2>&1
at the bottom then save and exit.
VS Code Plugin List for Laravel
-
Install & permission
composer global require laravel/envoy
chmod +x ~/.composer/vendor/bin/envoy
mkdir /var/www/{domain}/.well-known
Open a new page in a new window, print it and closed it stackoverflow
<script type='text/javascript'>
$(function(){
function openPrintWindow(url, name, specs) {
var printWindow = window.open(url, name, specs);
var printAndClose = function () {
if (printWindow.document.readyState == 'complete') {
clearInterval(sched);
printWindow.print();