Laravel School

Laravel School is mainly focused on Laravel, PHP, JavaScript and modern web related tutorial. All tutorials will try to cover from scratch to pro level.
Image for Laravel Tumblr API Integration

Laravel Tumblr API Integration

Tumblr is one of the famous microblogging and social networking website. If you are a fan of Tumblr and planning to use its [official API](https://github.com/tumblr/tumblr.php). In this post, I mainly

2 min read Read More

How to add new columns to the existing table in Laravel migration

Sometimes it is required to add new columns in Laravel tables. Today I will show you how to add new column or columns to the existing table in Laravel migration. ## Add a single Column: To add

2 min read Read More

Laravel migrate failed to open stream: No such file or directory

Hello If you are having issue of Laravel migrate failed to open stream: No such file or directory, then this post might be helpful for you. Currently, I have the same issue. Let me tell you how d

1 min read Read More

How to get all commit list of Github repo

You might need to get all the commit lists of a github repo. In that case, you can get the list of the commit of a repo in different command. May be you can try- ``` git log --reflog ``` O

1 min read Read More

Laravel Class env does not exist

Sometimes, there is an error in Laravel called Class env does not exist specially when you are trying to do PHP unit test on any specific class. In that case, although your test is right, however, it

2 min read Read More
Image for How do we rewrite Sclrship?

How do we rewrite Sclrship?

[ Sclrship](https://sclrship.com) is one of the scholarships information providing website that has launched in 2014. Since the beginning, **Sharmin** (CEO & co-founder), me (co-founder) and our team

2 min read Read More
Image for Laravel use PUT or PATCH in Postman

Laravel use PUT or PATCH in Postman

If you are developing any API endpoint where you need to build an endpoint for updating record, the first choose in your mind will come to use either put or patch. However, using put or patch as a htt

1 min read Read More

How to add extra values in Laravel Request

Laravel request is the way to fetch user's form data. By default, whatever you have written in the form, you are able to receive the data via Laravel Request. The normal procedure is- ```php f

1 min read Read More
Image for How to use Slug in Laravel Factory

How to use Slug in Laravel Factory

Today, I would love to show you a handy trick that, how to use Slug in the Laravel Factory. It's easy that you can call `$faker->sentence` to generate a sentence. However, making slug from that faker

1 min read Read More
Image for Building a delighted RESTful API with Laravel

Building a delighted RESTful API with Laravel

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.

6 min read Read More