PHPackages                             wyrihaximus/string-get-in - 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. wyrihaximus/string-get-in

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

wyrihaximus/string-get-in
=========================

Wrapper around igorw/get-in using strings rather then arrays are keys

1.1.0(4y ago)1162.4k↑25%[5 PRs](https://github.com/WyriHaximus/php-string-get-in/pulls)2MITMakefilePHP ^8 || ^7.4

Since Oct 14Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/WyriHaximus/php-string-get-in)[ Packagist](https://packagist.org/packages/wyrihaximus/string-get-in)[ GitHub Sponsors](https://github.com/WyriHaximus)[ RSS](/packages/wyrihaximus-string-get-in/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (9)Used By (2)

Wrapper around igorw/get-in using strings rather then arrays are keys
=====================================================================

[](#wrapper-around-igorwget-in-using-strings-rather-then-arrays-are-keys)

[![Build Status](https://camo.githubusercontent.com/674c13e1bd75223d835f922cfb3bfab4dc83bed03795d6aaaf598bbb41e4534d/68747470733a2f2f7472617669732d63692e636f6d2f57797269486178696d75732f7068702d737472696e672d6765742d696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/WyriHaximus/php-string-get-in)[![Latest Stable Version](https://camo.githubusercontent.com/300eb848b3ca499addbd0a157d424c926ae581bccbe2757bb8c36a48cf6c4bf7/68747470733a2f2f706f7365722e707567782e6f72672f77797269686178696d75732f737472696e672d6765742d696e2f762f737461626c652e706e67)](https://packagist.org/packages/wyrihaximus/string-get-in)[![Total Downloads](https://camo.githubusercontent.com/0db663c36af269eedf0a2c7b8b241c79d8641ece805d52b3bb075f9bde9d20f8/68747470733a2f2f706f7365722e707567782e6f72672f77797269686178696d75732f737472696e672d6765742d696e2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/wyrihaximus/string-get-in/stats)[![Code Coverage](https://camo.githubusercontent.com/2dd4b5c4e8f8458bdd54a1e3ebc935942b9b734ccc08d858aa1846d056f4da6d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f77797269686178696d75732f7068702d737472696e672d6765742d696e2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/wyrihaximus/php-string-get-in/?branch=master)[![License](https://camo.githubusercontent.com/42ace8ce435ca4f110526d83b6a6f1634d59f57568f241676a9e71262bfd49d0/68747470733a2f2f706f7365722e707567782e6f72672f77797269686178696d75732f737472696e672d6765742d696e2f6c6963656e73652e706e67)](https://packagist.org/packages/wyrihaximus/string-get-in)[![PHP 7 ready](https://camo.githubusercontent.com/d98f11e06185c2d667fb6eb94553cb34b0a7bc64bd2df46753c5105fb1ef3443/687474703a2f2f7068703772656164792e74696d6573706c696e7465722e63682f77797269686178696d75732f7068702d737472696e672d6765742d696e2f62616467652e737667)](https://travis-ci.com/WyriHaximus/php-string-get-in)

Install
=======

[](#install)

To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `^`.

```
composer require wyrihaximus/string-get-in

```

Usage
=====

[](#usage)

```
// igorw/get-in
$a = igorw\get_in($haystack, ['nee', 'dle'], $default);

// wyrihaximus/string-get-in
$a = WyriHaximus\getIn($haystack, 'nee.dle', $default);
```

License
=======

[](#license)

The MIT License (MIT)

Copyright (c) 2018 Cees-Jan Kiewiet

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance43

Moderate activity, may be stable

Popularity31

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1140 days

Total

2

Last Release

1632d ago

PHP version history (2 changes)1.0.0PHP ^7.2

1.1.0PHP ^8 || ^7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/147145?v=4)[Cees-Jan Kiewiet](/maintainers/WyriHaximus)[@WyriHaximus](https://github.com/WyriHaximus)

---

Top Contributors

[![WyriHaximus](https://avatars.githubusercontent.com/u/147145?v=4)](https://github.com/WyriHaximus "WyriHaximus (18 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (15 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (10 commits)")

---

Tags

hacktoberfestphpphp7php72

### Embed Badge

![Health badge](/badges/wyrihaximus-string-get-in/health.svg)

```
[![Health](https://phpackages.com/badges/wyrihaximus-string-get-in/health.svg)](https://phpackages.com/packages/wyrihaximus-string-get-in)
```

###  Alternatives

[b13/assetcollector

Add CSS and SVG files and strings as inline style tag/inline svg to the html code.

10118.4k](/packages/b13-assetcollector)[miranj/craft-router

Use URL segments as filtering criteria on an entry query.

231.6k](/packages/miranj-craft-router)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
