bitandblack/composer-helper

Some additional composer functions

0.1.0 2020-01-24 10:55 UTC

This package is auto-updated.

Last update: 2020-02-24 11:06:40 UTC


README

PHP from Packagist Codacy Badge Latest Stable Version Total Downloads License

Composer Helper

This library provides useful functions for Composer.

Installation

This library is made for the use with Composer. Add it to your project by running $ composer require bitandblack/composer-helper.

Usage

  • Get the path to your vendor folder by calling Composer::getVendorPath(). This works also when your vendor folder has a different name.
  • Check if a class exists by calling Composer::classExists(). This is a replacement for class_exists() which is not working with Composer.

Help

If you have any questions feel free to contact us under composer-helper@bitandblack.com.