VIEW POST

View more
Laravel

Contextual binding in laravel with example

By on December 22, 2019

Sometime we want to use two or multiple payment system in our project. For example we have two different payment system in our project eg. PayPal and Card Payment method. To implement this feature let create our interface PaymentContract.php in App/Contracts folder

<?php

namespace App\Contracts;

interface PaymentContract
{
public function pay(int…


VIEW POST

View more
Laravel

Deploying Laravel 5.7 on shared hosting

By on November 28, 2018

Deploying the Laravel in shared hosting is not an easy task for beginners. So here we make it easy to deploy Laravel in a shared hosting environment. Before deploying your local project into the live setting, you need to clean all the cache, routes, config and views made by…


VIEW POST

View more
Laravel

Make reset password email queue in laravel 5.7

By on November 27, 2018

Sending direct emails takes more time compared using a queue in Laravel. A queue is a feature integrated within Laravel which has its authentication feature which is generated by using the following command.

php artisan make:auth

After running this command, it created all scaffolding necessary for the authentication like register, login…

Categories