Book Image

PhpStorm Cookbook

By : Mukund Chaudhary
Book Image

PhpStorm Cookbook

By: Mukund Chaudhary

Overview of this book

Table of Contents (16 chapters)
PhpStorm Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Creating a PHP project using Composer


Welcome to those who have taken the route to the right! Fasten your seatbelts, and get ready to create a new project in PHP.

Tip

Creating a new project in itself is a very mature decision, so you should always decide maturely and strategically. There might be situations in which, out of sheer enthusiasm, you opted to create a new project, and within a few days, you realize that much of the functionality you are planning to create has already been developed. You will end up doing a lot of copy-pasting work.

Getting ready

The principles of software engineering always teach students that a design should be high on coupling and low on cohesion. This means that an application program should use other programs but not depend on it. Composer in PHP is a system that helps you to adopt this methodology. Composer is a dependency manager for PHP, which allows other packages written in PHP to be included in other projects.

PhpStorm enables you to create projects that...