Posts

Sending Emails using Laravel Mailables
Laravel introduce mailable class for sending emails without any fuss in Laravel 5.3. Like other Laravel classes, Mailable class provide several methods like view(), from(), text(), attach() etc. Today I am going to tell you how to send...
1 Comments
Using Single Action Classes in Laravel Controller
Laravel Controller is the core element of MVC (Model View Controller) design pattern, but they can grow to an unmanageable size as your application becomes bigger. As a developer, I always have to think where I should put my logic and keep...
0 Comments
Laravel Policies Controlling Authorization in Laravel
Laravel Policies are a great way to protect actions on your Eloquent Model. Laravel Policies are the part of Laravel Authorization that helps you to protect resources from unauthorized access. In this post, I will show you how you can...
0 Comments
Attributes Casting, Accessors and Mutators in Laravel
In this article, we are going to look into three of them: attributes casting, accessors and mutators. Attribute Casting The easier way to transform your model attributes while accessing them is the attributes casting. In a few words,...
1 Comments
How To Create Multilingual Website using Laravel Localization
In this post, I will show you how we can create a multilingual website using Laravel Localization. There are different ways of using localization in Laravel. You can make a Middleware to handle the localization based on user's selected...
2 Comments
Deploying Laravel on Shared Hosting
There are many guides available on the internet concerning deploying Laravel on shared hosting, but they are not very precise or out of date in respect of the latest changes in Laravel. The good news is it's very easy to publish Laravel...
0 Comments
Task Scheduling and Cron Jobs in Laravel
Have you ever tried to setup a cron job using PHP? If yes, then you know the pain of managing it. Laravel provides a very intuitive and simple way to manage all your tasks and cron jobs. In this post, I'm going to show you how you can...
0 Comments
How to use Repository Pattern in Laravel
When tackling the separation of concerns, this is very important. Another benefit is how easy it makes it swap out your backend technology. For instance, let’s say you are using MySQL and want to change to MongoDB. Since the...
13 Comments
Page 1 of 3