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
- Host: GitHub
- URL: https://github.com/HumanInitiative/yii2-components
- Owner: HumanInitiative
- Created: 2017-11-02T07:29:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-06-14T05:22:20.000Z (about 4 years ago)
- Last Synced: 2025-06-14T21:48:57.899Z (about 1 year ago)
- Topics: components, widgets, yii2-extension
- Language: PHP
- Size: 84 KB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```