We are very familiar with Google event reminder, we get email or other kinds of notification before the actual event. It is really helpful, since we are very busy with our day to day activity. But how can we implement this for our self using awesome features of Laravel. Here are the basic steps we can follow to create a simple notification scheduler. Though we can configure the scheduler in more sophisticated way, but we will just focus on basic.

Create command

To create a command you can run:

php artisan make:command MeetingReminder

set the signature of the command like:

protected $signature…

Modern front-end frameworks like React, Vue, and Angular has changed the way our web looks like today. A maximum of them are using a component-based approach. But communication among the components is an important part. The way components communicate and share state with each other, defines their success story. To create maintainable software by separating different parts of logic and state into dedicated components is a bit tricky.

Passing data to deeply nested child components can be cumbersome, especially when dealing with child components several levels down a component tree. …

User authentication & authorization is one of the important part of any web application. There are several kinds of way to handle authentication, we can rely on third party service like Passport. But in this article we will use very simple & self developed approach, which will help us to understand core part of authentication.



Technology Used

Database: MySQL
Password Hash: bcryptjs
Token: JWT

Basic Structure

To create basic structure for different kind of endpoints like registration or login we will use express as router. And we will create a folder for routers.

In routes folder we will create a file…

Developing application for multiple platform (web & mobile) with single source of back end, require APIs or web services. Keeping APIs call safe and authenticated is important to protect the data being transferred between application to application. We are going to use Laravel Passport which allows us to authenticate APIs. For role/permission we will use Laravel-Permission.

Initial Setup:
Our final implementation will be a simple blog. First we will create new laravel project

laravel new blog

In blog we will have 2 types of user:
(1) Admin
(2) Blogger


Install Passport: In command line go to the blog directory


Manash Chakrobortty

Sr. Software Engineer, Cefalo

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store