Laravel School

Snippet Github Twitter

Hello. I’m Thouhedul Islam. Some people also know me as Suchi.

I am a Full-stack Developer. I love to play with PHP especially Laravel, JavaScript, MySql, and the latest web technology. Currently, I am working for GLEIF as my day time job.

At night I love to solve problems for the community. I love to be active at Laracasts.

Latest Articles

10 rules to code like NASA (applied to interpreted languages)

2 years ago
Hello I found some good tips to write robust and maintainable software. After reading the post, here is the extraction of this article- __Rule__ 1 — Don't use goto, rationalize the use of conti...

How to set up sub-domain in CloudWays

2 years ago
[Cloud Ways]( is being popular nowadays for small and medium-size hosting. [LS]( is hosted into the Cloud Ways also. Recently I want to set-up a sub-dom...

Welcome to the Next Design

2 years ago
Hello readers. You may notice already that, the [LS]( interface is already changed. We have decided to move LS to the next level for our readers. In order to provide qual...

Implement the Open Closed Principle in Laravel for Sign Up

2 years ago
In this tutorial, I will show you how to implement the Open Closed Principle in Laravel for Sign up a user. Here my intention is to apply OCP on Sign up so that you can relate it to your real-life sc...

Avoid inline code and logic |Write Clean Code - Part 2

2 years ago
In our [previous post]( we wrote how to reduce if else in php in order to write the clean. Today, I am going to show yo...

Apply The Open Closed Principle in Laravel | Part 2

2 years ago
In this post, we will learn how to implement the Open-Closed Principle in Laravel. This is the continuation of the previously posted article [ Apply The Open Closed Principle in Laravel | Part 1 ](htt...

How to Find any file in Github Repo easily

2 years ago
No doubt that github become one of the essential parts of the developers nowadays. Modern developers fully depend on git-flow to produce a better result. But sometimes searching on github repo is not...

How to reduce condition from Model | Write Clean Code - Part 2

2 years ago
In this series to tutorials, my plan is to take some real-life code and try to refactor the code as much as I can. Today, I will show you how to reduce unnecessary condition from the Laravel Model....

Reduce If else in PHP | Write Clean Code - Part 1

2 years ago
Unfortunately, there is no unique way to write code. Although there are some set of rules of writing code, however, programmers are free to write code in their own style, especially the logical part....

Laravel Check If Relationship has Loaded or Not

2 years ago
One of the nice things of Larave is [eager loading]( Now, sometimes if you need to check whether the model has loaded the eager loadi...