#Basic Idea( Source code)
- install Guzzle HTTP library :
composer require guzzlehttp/guzzle - [sign up to mailgun] (http://www.mailgun.com)
- Go to
Domainstab and click on domains - You will find the necessary data for
.envsetup- MAIL_DRIVER=mailgun
- MAIL_HOST=smtp.mailgun.org
- MAIL_PORT=587
- MAIL_USERNAME=postmaster@sandbox------------------------------6f.mailgun.org
- 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
MyBlogand 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>&1at 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();
How to build BOTH non-block components and blocks present in the /src directory using @wordpress/scripts
Just add a webpack.config.js file at the root of your project with the following contents:
const defaultConfig = require( '@wordpress/scripts/config/webpack.config' );
module.exports = {
...defaultConfig,
entry: {
...defaultConfig.entry(),