PHPackages                             anderswelt/stringtotype - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. anderswelt/stringtotype

ActiveService[Utility &amp; Helpers](/categories/utility)

anderswelt/stringtotype
=======================

A php service to convert string content to its inherent type

1.0(4y ago)1963MITPHPPHP ^7.4 || ^8.0

Since Sep 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/W4ldgeist/stringtotype)[ Packagist](https://packagist.org/packages/anderswelt/stringtotype)[ RSS](/packages/anderswelt-stringtotype/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

stringtotype
============

[](#stringtotype)

A small high performance service to convert a string to its basic type based on the string contents

Installation
------------

[](#installation)

Composer:

```
composer require anderswelt/stringtotype

```

Usage
-----

[](#usage)

```
