<div align="center">
<h1>PHP Scalar Objects</h1>
<p align="center">
<a href="https://packagist.org/packages/norse-blue/scalar-objects"><img alt="Stable Release" src="https://img.shields.io/packagist/v/norse-blue/scalar-objects.svg?style=flat-square&label=release&logo=packagist&logoColor=eceff4&colorA=4c566a&colorB=5e81ac"></a>
<a href="https://travis-ci.com/norse-blue/php-scalar-objects"><img alt="Build Status" src="https://img.shields.io/travis/com/norse-blue/php-scalar-objects.svg?style=flat-square&label=build&logo=travis-ci&logoColor=eceff4&colorA=4c566a&colorB=88c0d0"></a>
<a href="https://php.net/releases"><img alt="PHP Version" src="https://img.shields.io/packagist/php-v/norse-blue/scalar-objects.svg?style=flat-square&label=php&logo=php&logoColor=eceff4&colorA=4c566a&colorB=b48ead"></a>
<a href="https://codeclimate.com/github/norse-blue/php-scalar-objects"><img alt="Maintainability" src="https://img.shields.io/codeclimate/maintainability/norse-blue/php-scalar-objects.svg?style=flat-square&label=maintainability&logo=code-climate&logoColor=eceff4&colorA=4c566a&colorB=88c0d0"></a>
<a href="https://codeclimate.com/github/norse-blue/php-scalar-objects"><img alt="Test Coverage" src="https://img.shields.io/codeclimate/coverage/norse-blue/php-scalar-objects.svg?style=flat-square&label=coverage&logo=code-climate&logoColor=eceff4&colorA=4c566a&colorB=88c0d0"></a>
<a href="https://packagist.org/packages/norse-blue/scalar-objects"><img alt="Total Downloads" src="https://img.shields.io/packagist/dt/norse-blue/scalar-objects.svg?style=flat-square&label=downloads&logoColor=eceff4&colorA=4c566a&colorB=88c0d0"></a>
<a href="https://github.com/norse-blue/php-scalar-objects/blob/master/LICENSE.md"><img alt="License" src="https://img.shields.io/github/license/norse-blue/php-scalar-objects.svg?style=flat-square&label=license&logoColor=eceff4&colorA=4c566a&colorB=a3be8c"></a>
</p>
</div> <hr>
PHP Scalar Objects is a PHP library that implements scalar primitives as objects that can be extended with useful methods.
>Requirements: >- PHP 7.3+
Install this package using Composer:
composer require norse-blue/scalar-objects
To get more in-depth knowledge about this package, please refer to the Official Documentation.
Please refer to the CHANGELOG.md file for more information about what has changed recently.
Contributions to this project are accepted and encouraged. Please read the CONTRIBUTING.md file for details on contributions.
Please review our security policy to know how to report security vulnerabilities within this package.
Do you like this project? Support it by donating
<a href="https://www.buymeacoffee.com/axelitus"><img src="docs/assets/images/buy-me-a-coffee.svg" width="180" alt="Buy me a coffee"></img></a>
This package is open-sourced software licensed under the MIT license.
Classes of Axel Pardemann | > | PHP Scalar Objects | > | Download .zip .tar.gz | > | Support forum | > | Blog | > | Latest changes |
|
|
Groups | Applications | Files |
Groups |
PHP 5 | Classes using PHP 5 specific features | View top rated classes |
Data types | Modeling and manipulating data types | View top rated classes |
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Files |
File | Role | Description | ||
---|---|---|---|---|
.changelog (1 file) | ||||
.github (4 files, 1 directory) | ||||
docs (2 files, 2 directories) | ||||
src (3 files, 7 directories) | ||||
tests (1 file, 6 directories) | ||||
.codeclimate.yml | Data | Auxiliary data | ||
.editorconfig | Data | Auxiliary data | ||
.phpcs.xml.dist | Data | Auxiliary data | ||
.styleci.yml | Data | Auxiliary data | ||
.travis.yml | Data | Auxiliary data | ||
CHANGELOG.md | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
LICENSE.md | Lic. | License text | ||
php-scalar-objects.sublime-project | Data | Auxiliary data | ||
phpinsights.php | Class | Class source | ||
phpstan.neon.dist | Data | Auxiliary data | ||
phpunit.xml.dist | Data | Auxiliary data | ||
README.md | Doc. | Documentation | ||
SECURITY.md | Data | Auxiliary data |
Files | / | .github |
File | Role | Description | ||
---|---|---|---|---|
ISSUE_TEMPLATE (3 files) | ||||
CODE_OF_CONDUCT.md | Data | Auxiliary data | ||
CONTRIBUTING.md | Data | Auxiliary data | ||
FUNDING.yml | Data | Auxiliary data | ||
PULL_REQUEST_TEMPLATE.md | Data | Auxiliary data |
Files | / | .github | / | ISSUE_TEMPLATE |
File | Role | Description |
---|---|---|
BUG_REPORT.md | Data | Auxiliary data |
FEATURE_REQUEST.md | Data | Auxiliary data |
QUESTION_DISCUSSION.md | Data | Auxiliary data |
Files | / | docs |
File | Role | Description | ||
---|---|---|---|---|
assets (2 directories) | ||||
_sass (1 directory) | ||||
index.md | Data | Auxiliary data | ||
_config.yml | Data | Auxiliary data |
Files | / | src |
File | Role | Description | ||
---|---|---|---|---|
Exceptions (1 directory) | ||||
Extensions (3 directories) | ||||
Facades (6 files) | ||||
Functions (5 files) | ||||
Support (1 file) | ||||
Traits (2 directories) | ||||
Types (5 files) | ||||
bootstrap.php | Class | Class source | ||
path_merge.php | Aux. | Auxiliary script | ||
PrimitiveType.php | Class | Class source |
Files | / | src | / | Exceptions | / | String |
File | Role | Description |
---|---|---|
MacSeparatorLengthException.php | Class | Class source |
Files | / | src | / | Extensions | / | Bool |
File | Role | Description |
---|---|---|
BoolAndExtension.php | Class | Class source |
BoolNotExtension.php | Class | Class source |
BoolOrExtension.php | Class | Class source |
BoolXorExtension.php | Class | Class source |
Files | / | src | / | Extensions | / | Number |
File | Role | Description |
---|---|---|
NumberAbsExtension.php | Class | Class source |
NumberGreaterThanExtension.php | Class | Class source |
NumberGreaterThanOrEqualExtension.php | Class | Class source |
NumberLessThanExtension.php | Class | Class source |
NumberLessThanOrEqualExtension.php | Class | Class source |
NumberPadExtension.php | Class | Class source |
NumberPadLeftExtension.php | Class | Class source |
NumberPadRightExtension.php | Class | Class source |
Files | / | src | / | Extensions | / | String |
Files | / | src | / | Facades |
File | Role | Description |
---|---|---|
BaseFacade.php | Class | Class source |
BoolFacade.php | Class | Class source |
FloatFacade.php | Class | Class source |
IntFacade.php | Class | Class source |
NumberFacade.php | Class | Class source |
StringFacade.php | Class | Class source |
Files | / | src | / | Functions |
File | Role | Description |
---|---|---|
bool.php | Example | Example script |
float.php | Example | Example script |
int.php | Example | Example script |
number.php | Example | Example script |
string.php | Example | Example script |
Files | / | src | / | Traits | / | Number |
File | Role | Description |
---|---|---|
NumberCheckMethods.php | Class | Class source |
NumberConversionMethods.php | Class | Class source |
Files | / | src | / | Traits | / | String |
File | Role | Description |
---|---|---|
StringArrayAccess.php | Class | Class source |
StringCheckMethods.php | Class | Class source |
StringCountable.php | Class | Class source |
StringStaticMethods.php | Class | Class source |
Files | / | src | / | Types |
File | Role | Description |
---|---|---|
BoolType.php | Class | Class source |
FloatType.php | Class | Class source |
IntType.php | Class | Class source |
NumberType.php | Class | Class source |
StringType.php | Class | Class source |
Files | / | tests |
File | Role | Description | ||
---|---|---|---|---|
Extensions (5 directories) | ||||
Facades (1 file) | ||||
Functions (1 file) | ||||
Helpers (1 directory) | ||||
Primitives (1 file) | ||||
Types (5 directories) | ||||
TestCase.php | Class | Class source |
Files | / | tests | / | Extensions | / | Bool |
File | Role | Description |
---|---|---|
BoolAndTest.php | Class | Class source |
BoolNotTest.php | Class | Class source |
BoolOrTest.php | Class | Class source |
BoolXorTest.php | Class | Class source |
Files | / | tests | / | Extensions | / | Float |
File | Role | Description |
---|---|---|
FloatAbsTest.php | Class | Class source |
FloatGreaterThanOrEqualTest.php | Class | Class source |
FloatGreaterThanTest.php | Class | Class source |
FloatLessThanOrEqualTest.php | Class | Class source |
FloatLessThanTest.php | Class | Class source |
Files | / | tests | / | Extensions | / | Int |
File | Role | Description |
---|---|---|
IntAbsTest.php | Class | Class source |
IntGreaterThanOrEqualTest.php | Class | Class source |
IntGreaterThanTest.php | Class | Class source |
IntLessThanOrEqualTest.php | Class | Class source |
IntLessThanTest.php | Class | Class source |
Files | / | tests | / | Extensions | / | Number |
File | Role | Description |
---|---|---|
NumberAbsTest.php | Class | Class source |
NumberPadLeftTest.php | Class | Class source |
NumberPadRightTest.php | Class | Class source |
NumberPadTest.php | Class | Class source |
Files | / | tests | / | Extensions | / | String |
Files | / | tests | / | Types | / | Bool |
File | Role | Description |
---|---|---|
BoolEqualsTest.php | Class | Class source |
CheckValueTest.php | Class | Class source |
CreateTypeTest.php | Class | Class source |
Files | / | tests | / | Types | / | Float |
File | Role | Description |
---|---|---|
CheckValueZeroTest.php | Class | Class source |
ConvertValueTest.php | Class | Class source |
CreateTypeTest.php | Class | Class source |
FloatCompareTest.php | Class | Class source |
FloatEqualsTest.php | Class | Class source |
Files | / | tests | / | Types | / | Int |
File | Role | Description |
---|---|---|
CheckValueZeroTest.php | Class | Class source |
ConvertValueTest.php | Class | Class source |
CreateTypeTest.php | Class | Class source |
IntCompareTest.php | Class | Class source |
IntEqualsTest.php | Class | Class source |
Files | / | tests | / | Types | / | String |
File | Role | Description |
---|---|---|
CheckValueEmptyTest.php | Class | Class source |
CreateTypeTest.php | Class | Class source |
StringArrayAccessTest.php | Class | Class source |
StringCompareTest.php | Class | Class source |
StringEqualsTest.php | Class | Class source |
Download all files: php-scalar-objects.tar.gz php-scalar-objects.zip NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
|