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...
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...
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...
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...
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...
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....
An Introduction to Laravel Policy
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
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
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
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...