Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 2.01 KB

README.md

File metadata and controls

55 lines (33 loc) · 2.01 KB

Pluf

Build Status codecov Coverage Status Maintainability Test Coverage

Pluf is a light, reliable and small PHP application framework to develop REST-full Multi/Single-tenant applications. This is the core of the Pluf framework which contains core concepts of Pluf Framework.

Installation

To use the Pluf library in your project, simply add a dependency on pluf/core to your project's composer.json file. Here is a minimal example of a composer.json file that just defines a dependency on UPDATE_NAME 1.x:

{
    "require": {
        "pluf/core": "~6.0"
    }
}

Development

If you would like to contribute to Pluf, please read the README and CONTRIBUTING documents.

The most important guidelines are described as follows:

All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.

Fork the project, create a feature branch, and send us a pull request.

To ensure a consistent code base, you should make sure the code follows the PSR-2 Coding Standards.

Running Composer

To pull in the project dependencies via Composer, run:

composer install

Running the CI checks

To run all CI checks, which includes PHPUnit tests, PHPCS style checks and coverage tag validation, run:

./vendor/bin/phpcs -p -s src

Running the tests

To run just the PHPUnit tests run

./vendor/bin/phpunit