Posts | Laravel School | Thouhedul Islam Suchi | Tisuchi | Learn Laravel, PHP, Vue.js

All Posts

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

I found some good tips to write robust and maintainable software. After reading the post, here is the extraction of this article-

How to set up sub-domain in CloudWays

Cloud Ways is being popular nowadays for small and medium-size hosting. [LS](http://laravel-school.com) is hosted into the Cloud Ways also. Recently I want to set-up a sub-domain for laravel-school.com for some particular purpose. It might be tricky for you, those don't know how to do that. Today, I will show you how to set up a sub-domain in CloudWays.

Welcome to the Next Design

You may notice already that, the [LS](http://laravel-school.com) interface is already changed. We have decided to move LS to the next level for our readers. In order to provide quality content and design, we come out with the new template.

Implement the Open Closed Principle in Laravel for Sign Up

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 scenario.

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

Today, I am going to show you how to avoid inline code and logic in PHP.

Apply The Open Closed Principle in Laravel | Part 2

In this post, we will learn how to implement the Open-Closed Principle in Laravel.

How to Find any file in Github Repo easily

No doubt that github become one of the essential parts of the developers nowadays.

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

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

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. We often see the code that contains a lot of `if-else` statement, even __nested if-else__.

Laravel Check If Relationship has Loaded or Not

Now, sometimes if you need to check whether the model has loaded the eager loading or not, then you need to check with `relationLoaded()`. Here is how you check this-