How to Create composer.json File For PHP Project

How to create composer.json file for PHP project.

PHP Composer is a cross-platform package dependency manager that manages package dependency in a PHP project. In Composer file, we can mention the dependencies which we need for our project and it will download them. In this tutorial, You are going to learn how to create a composer.json file for your  PHP project.

How to Create Composer.json File for PHP Project

How to Create Composer.json File for PHP Project

How to Measure 4L Water with 3L and 5L Jugs

In this post, let’s discuss a interesting puzzle how to measure 4l water with 3l and 4l jugs.

Problem statement : You have two jugs of capacity 3L and 5L. There is no measurement lines on jug. You need to measure 4L water using 3L and 5L jug. You can use extra water as much as you need. This is one of the favourite puzzle question asked by an interviewer to check your thinking ability.