PHP Classes

PHP Scalar Objects: Implement objects that behave like scalar values

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 49 All time: 10,738 This week: 560Up
Version License PHP version Categories
php-scalar-objects 1.0MIT/X Consortium ...5PHP 5, Data types
Description 

Author

This package implements objects that behave like scalar values.

It provides several classes that behave like scalar data types.

Currently it provides classes to create objects that behave like scalar data types like numbers, strings and characters.

Picture of Axel Pardemann
  Performance   Level  
Innovation award
Innovation award
Nominee: 3x

 

Documentation

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

Installation

>Requirements: >- PHP 7.3+

Install this package using Composer:

composer require norse-blue/scalar-objects

Usage

To get more in-depth knowledge about this package, please refer to the Official Documentation.

Changelog

Please refer to the CHANGELOG.md file for more information about what has changed recently.

Contributing

Contributions to this project are accepted and encouraged. Please read the CONTRIBUTING.md file for details on contributions.

Credits

Security

Please review our security policy to know how to report security vulnerabilities within this package.

Support the development

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>

License

This package is open-sourced software licensed under the MIT license.


  Files folder image Files (205)  
File Role Description
Files folder image.changelog (1 file)
Files folder image.github (4 files, 1 directory)
Files folder imagedocs (2 files, 2 directories)
Files folder imagesrc (3 files, 7 directories)
Files folder imagetests (1 file, 6 directories)
Accessible without login Plain text file .codeclimate.yml Data Auxiliary data
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file .phpcs.xml.dist Data Auxiliary data
Accessible without login Plain text file .styleci.yml Data Auxiliary data
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE.md Lic. License text
Accessible without login Plain text file php-scalar-objects.sublime-project Data Auxiliary data
Plain text file phpinsights.php Class Class source
Accessible without login Plain text file phpstan.neon.dist Data Auxiliary data
Accessible without login Plain text file phpunit.xml.dist Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file SECURITY.md Data Auxiliary data

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:49
This week:0
All time:10,738
This week:560Up