Skip to content

PHP helpers upon primitive data types and common data structures

License

Notifications You must be signed in to change notification settings

jakov-ratkovic/php-helper

 
 

Repository files navigation

PHP Helper

Build Status CodeFactor GitHub license

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

Table of contents

Features

Provides helpers for conversion-/modification-, validation-, extraction-/search-, and many more for:

  • 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.

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

Running Tests

composer test

Running phpstan

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

Contributing

See CONTRIBUTING.md

History

See CHANGELOG.md

Author and License

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

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

http://www.apache.org/licenses/LICENSE-2.0":http://www.apache.org/licenses/LICENSE-2.0

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.

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.

About

PHP helpers upon primitive data types and common data structures

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 99.7%
  • HTML 0.3%