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

Configuring the plugin with PhpStorm


When it comes to saying that there is a plugin, it is to be assumed that there has to be a user of that plugin. Since you are a PhpStorm lover, you can safely assume that PhpStorm can be (one of the) possible users of the plugin. So, you need to act as a pseudo recipient of the library plugin and make an attempt to use the library. By configuring, it is to be understood as making the necessary adjustments in the project structure so that the library can be used to add functionality to the project. The age-old practice of reusability is at work, you see.

The main advantage that is associated with a library plugin is the ease of inclusion in a project. You just have to make use of this advantage.

How to do it…

To configure the plugin with PhpStorm, the steps to be followed are as follows:

  1. Obtain phar from whichever source you wish.

  2. Create a directory inside your project with a proper and descriptive name.

  3. The plugin can be used very easily via require(_once)...