2017 © Pedro Peláez
 

library php-helper

PHP helpers

image

gyselroth/php-helper

PHP helpers

  • Monday, June 25, 2018
  • by kstenschke
  • Repository
  • 2 Watchers
  • 0 Stars
  • 40 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

PHP Helper

Latest Stable Version Build Status CodeFactor GitHub license, (*1)

Total Downloads Monthly Downloads Daily Downloads, (*2)

PHP helper methods upon primitive data types (Array, Float, Integer, String, etc.) and common data structures (e.g. HTML, ZIP, XML etc.)., (*3)

Table of contents

Features

Provides helpers for conversion-/modification-, validation-, extraction-/search-, and many more for:, (*4)

  • Date/Time handling
  • File I/O
  • HTML
  • Image
  • JSON
  • Numeric
  • Reflection
  • Server/Client
  • String
  • XML
  • ZIP

Log-Wrapper

This package uses the gyselroth logger wrapper. See it's documentation for further info on how to setup and use it from within PHP applications of different frameworks., (*5)

Minimum Requirements

Installation

For use within your application

composer require gyselroth/php-helper

Standalone-installation / For developing the php-helper package

curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
composer install

Continuous Integration

php-helper is continuously checked regarding it's stability, code quality and standards using these third party tools:, (*6)

Tool Description
Travis CI Hosted continuous integration service used to build and test software projects
PHPSTan PHP Static Analyzer
PHPUnit The PHP Testing Framework
PHP CodeSniffer Detect violations of defined coding standard (PSR-2)
CodeFactor Automated Code Review for git

Thanks a lot!, (*7)

Check Code Standards

phpcs --standard=PSR2 $(find ./src -name '*.php')

Run Unit Tests

vendor/bin/phpunit tests/

or:, (*8)

composer test

Static Analysis

 vendor/bin/phpstan analyse /srv/www/trunk/src -c /srv/www/trunk/var/ci/phpstan/phpstan.neon

Contributing

See CONTRIBUTING.md, (*9)

History

See CHANGELOG.md, (*10)

Author and License

Copyright 2017-2020 gyselroth™ (http://www.gyselroth.com), (*11)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at, (*12)

http://www.apache.org/licenses/LICENSE-2.0":http://www.apache.org/licenses/LICENSE-2.0, (*13)

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License., (*14)

Used Open Source Software

Open source packages used by the gyselroth Helper Library are copyright of their vendors, see related licenses within the vendor packages., (*15)

The Versions

25/06 2018

dev-master

9999999-dev https://gyselroth.com

PHP helpers

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

file xml helper server array html date client image string zip numeric

31/05 2018

0.1.0

0.1.0.0 https://gyselroth.com

PHP helpers

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

file xml helper server array html date client image string zip numeric