PHPackages                             quorum/dot-notation - 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. quorum/dot-notation

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

quorum/dot-notation
===================

Simple PHP Dot Notation Parser

v1.1.0(1y ago)354.9k—2.6%MITPHPPHP &gt;=7.1CI passing

Since Jan 27Pushed 2w ago2 watchersCompare

[ Source](https://github.com/QuorumCollection/DotNotationParser)[ Packagist](https://packagist.org/packages/quorum/dot-notation)[ RSS](/packages/quorum-dot-notation/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (4)Versions (6)Used By (0)

Dot Notation Parser
===================

[](#dot-notation-parser)

[![Latest Stable Version](https://camo.githubusercontent.com/4740785cef90171b7e98dbaddfb23022eb193f474deedf86c47bdf33e0c19298/68747470733a2f2f706f7365722e707567782e6f72672f71756f72756d2f646f742d6e6f746174696f6e2f76657273696f6e)](https://packagist.org/packages/quorum/dot-notation)[![Total Downloads](https://camo.githubusercontent.com/08c8b3f4e468d220ccc963e6b06ed4c14be9de6c16df027d2a5fc1a6cf33c6b9/68747470733a2f2f706f7365722e707567782e6f72672f71756f72756d2f646f742d6e6f746174696f6e2f646f776e6c6f616473)](https://packagist.org/packages/quorum/dot-notation)[![License](https://camo.githubusercontent.com/a0e419e95a0fc4db61a781f7aae92c7c647311cce7347df2bca824e18076e977/68747470733a2f2f706f7365722e707567782e6f72672f71756f72756d2f646f742d6e6f746174696f6e2f6c6963656e7365)](https://packagist.org/packages/quorum/dot-notation)[![ci.yml](https://github.com/QuorumCollection/DotNotationParser/actions/workflows/ci.yml/badge.svg)](https://github.com/QuorumCollection/DotNotationParser/actions/workflows/ci.yml)

DotNotationParser is a simple parser that will parse `foo.bar.baz` into `[ 'foo', 'bar', 'baz' ]` and `foo."bar.baz"` into `[ 'foo', 'bar.baz' ]`.

Requirements
------------

[](#requirements)

- **php**: &gt;=7.4

Installing
----------

[](#installing)

Install the latest version with:

```
composer require 'quorum/dot-notation'
```

Example
-------

[](#example)

```
