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

Building a delighted RESTful API with Laravel

2 years ago
8798 views
Writing API with [Laravel](https://laravel.com) considering easy, however writing delightful API with Laravel is not that easy. To write a delighted API, you need to have a proper plan for your API....

An Introduction to Laravel Policy

2 years ago
17663 views
If you heard about Laravel Policy and still not yet use that, this introduction to Laravel Policy post is for you then. In this tutorial, I will write a real-life tutorial that, how to use Laravel Pol...

Deep Diving into Laravel Subquery

2 years ago
5951 views
In this tutorial, we will learn how to use Laravel Subquery in real life example. I have inspired to write about this article by reading [Jonathan Reinink](https://twitter.com/reinink) [post](https://...

The Standard Approach to Validate Laravel Form Request

2 years ago
8851 views
Laravel is one of the best choices for PHP developer since it gives so much flexibility to the developer. However, the form validation is one of the crucial parts for web-based application and API. La...

How to use Laravel Transform

2 years ago
2403 views
You will get an example in Laravel documentation that how to use **transform()** in Laravel. You might see example code like that- ``` php $collection = collect([1, 2, 3, 4, 5]); $collection->t...

Laravel Testing: Starting with Laravel feature Testing

2 years ago
1249 views
Although, there is a lot of controversy for testing in development, however, I would prefer to do follow testing. The advantage of testing laravel application is better than without testing. So, I wil...

How to upload laravel project in cPanel

2 years ago
3677 views
If you use cPanel to host your [Laravel](https://www.laravel.com) application, you might be confusing at first. It's because of the directory structure of Laravel and cPanel are bit different. Today,...

Laravel PHP artisan Route List command

2 years ago
81125 views
Ideally, the ```php artisan route:list``` will display display the domain, method, URI, name, action and middleware for the routes it includes in the generated table. Now, what if I want to show a...

Let's do Laravel code refactoring

2 years ago
2351 views
Sometimes, we have some code that we can do refactor more. In this post I will show you how to do refactor a traditional code and make it more optimized. Let's imagine that, as an author, you have...

Laravel delete files from Public Folder

2 years ago
10526 views
If you want to delete a file from public folder in Laravel, surely you can use PHP's `unlink()` method to remove that. Besides `unlink()`, you can remove file by laravel way, by using the `File::d...