v-wordpress-plugin-updater/update-api/vendor/respect/stringifier
nikolai@vontainment.com 646db0fb76 modified: update-api/app/Helpers/Validation.php
modified:   update-api/composer.json
	modified:   update-api/composer.lock
	modified:   update-api/vendor/composer/autoload_files.php
	modified:   update-api/vendor/composer/autoload_psr4.php
	modified:   update-api/vendor/composer/autoload_static.php
	modified:   update-api/vendor/composer/installed.json
	modified:   update-api/vendor/composer/installed.php
2025-10-20 07:06:25 -04:00
..
src modified: update-api/app/Helpers/Validation.php 2025-10-20 07:06:25 -04:00
composer.json modified: update-api/app/Helpers/Validation.php 2025-10-20 07:06:25 -04:00
LICENSE.md modified: update-api/app/Helpers/Validation.php 2025-10-20 07:06:25 -04:00
README.md modified: update-api/app/Helpers/Validation.php 2025-10-20 07:06:25 -04:00

Respect\Stringifier

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version Total Downloads License

Converts any PHP value into a string.

Installation

Package is available on Packagist, you can install it using Composer.

composer require respect/stringifier

This library requires PHP >= 7.1.

Feature Guide

Below a quick guide of how to use the library.

Namespace import

Respect\Stringifier is namespaced, and you can make your life easier by importing a single function into your context:

use function Respect\Stringifier\stringify;

Stringifier was built using objects, the stringify() is a easy way to use it.

Usage

Simply use the function to convert any value you want to:

echo stringify($value);

To see more examples of how to use the library check the integration tests.