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 Testing: How to do Login PHP UnitTest

Laravel Testing: How to do Login PHP UnitTest

Today, I will show you how to do Login PHP UnitTest with Laravel. This article will cover the login testing part only. **I assume that you have migrated laravel default database and create the r

1 min read Read More

Image for How to use php array_sum() function?

How to use php array_sum() function?

In PHP, there is a built-in function called **[array_sum()](https://www.php.net/manual/en/function.array-sum.php)**. Normally **array_sum()** help to sum all the elements in an array. Today, I will sh

1 min read Read More
Image for Writing your first PHP Unit Test | Learning PHPUnit - Part 2

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

1 min read Read More

Image for Learning PHPUnit | Part 1

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

2 min read Read More
Image for Please make sure you have the correct access rights

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

1 min read Read More

Image for How to Upgrade PHP Version on mac

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

1 min read Read More
Image for Apply The Open Closed Principle in Laravel | Part 1

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

1 min read Read More

Image for How to use dump() on Laravel Collection

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

1 min read Read More
Image for Docker for Beginners

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.

1 min read Read More

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