Writing your first PHP Unit Test | Learning PHPUnit - Part 2

Hello Today, I am going to show you writing your first PHP Unit Test. Keep it in your mind that, this series is for absolute beginner those don't use testing in their code. Let's start. ### Pre...

Learning PHPUnit | Part 1

I was planning to write a few articles about **PHP Unit** for the beginner. Today, finally I got a chance to do that. In this series of article, I am going to show you how to use PHP Unit in PHP for t...

Please make sure you have the correct access rights

If you are using git in your computer and facing the issue called **Please make sure you have the correct access rights and the repository exists.** then, this post might be helpful for you. To...

How to Upgrade PHP Version on mac

Hello Recently I was facing issue to upgrade PHP version 7.3 from 7.1. Well, there are many tutorials online, unfortunately, many of them have confusing instruction. However, I come out with the...

Apply The Open Closed Principle in Laravel | Part 1

I think one of the most popular design principles is **Open Closed Principle** that most of the PHP developers use in their project. I am going to show you how to use the Open Closed Principle in Lara...

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

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

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

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

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