July, 11, 2019 . 1 min read

How to use dump() on Laravel Collection

Hello Today, I am going to show you short tips on how to use `dump()` on Laravel collections instead of `dd()`. Sometimes, writing `dd()` is time-consuming since it a function. In that case, if you are working on Laravel Collections, using dump will be time-saving for you in the development stage. https://www.youtube.com/watch?v=k3C1g65FlK...

How to use dump() on Laravel Collection

July, 04, 2019 . 1 min read

Docker for Beginners

Hello Docker is becoming one of the essential parts for developers nowadays. Many companies are personally using docker for maintaining the same development environment in production and local. Surely it's one of the good steps to learn how to use Docker as a developer. I am planning now to write articles and tips about docker for the...

Docker for Beginners

April, 17, 2019 . 2 min read

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 focus on how to integrate with Laravel. ## Install First of all, you need to install the package with `composer`. ``` composer require tumb...

Laravel Tumblr API Integration

April, 10, 2019 . 3 min read

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. Imagine that, you have a table called __users__ where the table structure is like this. ![User table](https://i.imgur.com/mSM6GbB.png) After migration and having data into the...

April, 08, 2019 . 1 min read

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 did I fix this issue. Firstly I have run `dump-update`. ``` Compose dumpautoload ``` or ``` composer dump-autoload ``` Now you s...

March, 18, 2019 . 1 min read

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 ``` Or ``` git reflog | awk '{ print $1 }' | xargs gitk ``` However, if you want to get list of the commit in more indexing way, I suggest you...

March, 17, 2019 . 2 min read

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's always shows that `Class env does not exist` as a result the test is failed. To solve this issue, I figure it out two possible ways. ####...

March, 13, 2019 . 2 min read

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 are working so hard to make this platform as close as possible to the scholarship seekers. As a result, we have reached to the very good ranking in [g...

How do we rewrite Sclrship?

February, 28, 2019 . 1 min read

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 http verb and test it in postman is not that easy. Today, I will show you how to use Laravel PUT or PATCH in Postman. Just imagine that, you have a...

Laravel use PUT or PATCH in Postman

January, 27, 2019 . 1 min read

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 function storeDate(Request $request) { return $request->all(); } ``` This method will receive all the submitted field data from the web form....