An open API service indexing awesome lists of open source software.

https://github.com/HumanInitiative/yii2-components

Yii2 Components for PKPU Dev Team
https://github.com/HumanInitiative/yii2-components

components widgets yii2-extension

Last synced: 12 months ago
JSON representation

Yii2 Components for PKPU Dev Team

Awesome Lists containing this project

README

          

README
========
Yii2 Components for PKPU Dev Team

Installation
------------

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist pkpudev/yii2-components "*"
```

or add

```
"pkpudev/yii2-components": "*"
```

to the require section of your `composer.json` file.

Checking Compatibility
------------

Check for PHP 5.6

```
./vendor/bin/phpcs --standard=PHPCompatibility --runtime-set testVersion 5.6 --extensions=php --report-full=report.txt --ignore=*/vendor/* .
```

Source [here](https://www.sitepoint.com/quick-intro-phpcompatibility-standard-for-phpcs-are-you-php7-ready/)

Installing PHPUnit
------------

Install phar version of phpunit locally

```
wget https://phar.phpunit.de/phpunit-.phar
chmod +x phpunit-6.4.phar
mv phpunit-6.4.phar phpunit
./phpunit --version
```