Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mirko-pagliai/php-tools
php-tools adds some useful global functions and some classes and methods
https://github.com/mirko-pagliai/php-tools
php php-lib php-library phpunit
Last synced: 3 months ago
JSON representation
php-tools adds some useful global functions and some classes and methods
- Host: GitHub
- URL: https://github.com/mirko-pagliai/php-tools
- Owner: mirko-pagliai
- License: mit
- Created: 2018-03-30T14:17:12.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-13T13:40:14.000Z (8 months ago)
- Last Synced: 2024-10-07T23:09:57.246Z (4 months ago)
- Topics: php, php-lib, php-library, phpunit
- Language: PHP
- Homepage:
- Size: 1.33 MB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# php-tools
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.txt)
[![CI](https://github.com/mirko-pagliai/php-tools/actions/workflows/ci.yml/badge.svg)](https://github.com/mirko-pagliai/php-tools/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/mirko-pagliai/php-tools/branch/master/graph/badge.svg)](https://codecov.io/gh/mirko-pagliai/php-tools)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/d39ca5f3a31c4f619afd8efabaddf2c2)](https://www.codacy.com/manual/mirko.pagliai/php-tools?utm_source=github.com&utm_medium=referral&utm_content=mirko-pagliai/php-tools&utm_campaign=Badge_Grade)
[![CodeFactor](https://www.codefactor.io/repository/github/mirko-pagliai/php-tools/badge)](https://www.codefactor.io/repository/github/mirko-pagliai/php-tools)*php-tools* adds some useful global functions, classes and methods, trait and exceptions.
Refer to our [API](https://mirko-pagliai.github.io/php-tools) to discover them all.Did you like this plugin? Its development requires a lot of time for me.
Please consider the possibility of making [a donation](https://paypal.me/mirkopagliai):
even a coffee is enough! Thank you.[![Make a donation](https://www.paypalobjects.com/webstatic/mktg/logo-center/logo_paypal_carte.jpg)](https://paypal.me/mirkopagliai)
***
* [Installation](#installation)
+ [Installation on older PHP versions](#installation-on-older-php-versions)
- [For PHP 7.4 or later](#for-php-74-or-later)
- [For PHP 7.2 or later](#for-php-72-or-later)
- [For PHP 5.6 or later](#for-php-56-or-later)
* [Versioning](#versioning)## Installation
You can install the package via composer:$ composer require --prefer-dist mirko-pagliai/php-tools
### Installation on older PHP versions
Recent packages and the master branch require at least PHP 8.1 and the current
development of the code is based on these and later versions of PHP.
However, there are still some branches compatible with previous versions of PHP.#### For PHP 7.4 or later
The [php7.4](https://github.com/mirko-pagliai/php-tools/tree/php7.4) branch
requires at least PHP 7.4.In this case, you can install the package as well:
```bash
$ composer require --prefer-dist mirko-pagliai/php-tools:dev-php7.4
```Note that the `php8.0` branch will no longer be updated as of January 04, 2024,
except for security patches, and it matches the
[1.8.3](https://github.com/mirko-pagliai/php-tools/releases/tag/1.8.3) version.#### For PHP 7.2 or later
The [php7.2](https://github.com/mirko-pagliai/php-tools/tree/php7.2) branch
requires at least PHP 7.2.In this case, you can install the package as well:
```bash
$ composer require --prefer-dist mirko-pagliai/php-tools:dev-php7.2
```Note that the `php7.2` branch will no longer be updated as of April 28, 2022,
except for security patches, and it matches the
[1.5.14](https://github.com/mirko-pagliai/php-tools/releases/tag/1.5.14) version.#### For PHP 5.6 or later
The [php5.6](https://github.com/mirko-pagliai/php-tools/tree/php5.6) branch
requires at least PHP 5.6.In this case, you can install the package as well:
```bash
$ composer require --prefer-dist mirko-pagliai/php-tools:dev-php5.6
```Note that the `php5.6` branch will no longer be updated as of April 22, 2021,
except for security patches, and it matches the
[1.4.8](https://github.com/mirko-pagliai/php-tools/releases/tag/1.4.8) version.## Versioning
For transparency and insight into our release cycle and to maintain backward
compatibility, *php-tools* will be maintained under the
[Semantic Versioning guidelines](http://semver.org).