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

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

yriveiro/dot
============

Dot access for nested structures

0.1.0(8y ago)0151MITPHPPHP &gt;=7.0CI failing

Since Jan 13Pushed 7y ago1 watchersCompare

[ Source](https://github.com/yriveiro/dot)[ Packagist](https://packagist.org/packages/yriveiro/dot)[ RSS](/packages/yriveiro-dot/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Dot - Dotted access made simple
===============================

[](#dot---dotted-access-made-simple)

Dot has a simple goal, give you access to data using dotted syntax.

[![License](https://camo.githubusercontent.com/533471ba53c5cb2054e11ff61454a10986a7267f1c55eb13f9b2074b8cc797ad/68747470733a2f2f706f7365722e707567782e6f72672f797269766569726f2f646f742f6c6963656e7365)](https://packagist.org/packages/yriveiro/dot)[![Build Status](https://camo.githubusercontent.com/40748a00424835ce65a6f87657fa35e0d9bac400b5603f09f7c9a323a5688f44/68747470733a2f2f7472617669732d63692e6f72672f797269766569726f2f646f742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/yriveiro/dot)[![Coverage Status](https://camo.githubusercontent.com/532b883a18702199cf5da7636f9249ace2c4f97d0311d32feb82f2aa1a761243/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f797269766569726f2f646f742f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/yriveiro/dot?branch=master)[![Total Downloads](https://camo.githubusercontent.com/4dba3bae3cf7fcbc7656f0a636ab187d4ae6ac7c8edeaa94de96189029ef6285/68747470733a2f2f706f7365722e707567782e6f72672f797269766569726f2f646f742f646f776e6c6f616473)](https://packagist.org/packages/yriveiro/dot)

Quick start documentation
=========================

[](#quick-start-documentation)

- [API](docs/API.md) - API reference.
- [Examples](docs/Examples.md) - Examples of utilization.
- [Contributing](CONTRIBUTING.md) - How to contribute to Dot project.
- [Licence](LICENSE.md) - Copyright License.

Overview
========

[](#overview)

Dot it's a lightweight and fast library that provides access to data using dotted syntax.

The main features of Dot are:

- Simplicity.
- Easy to extend.
- Two modes of use:
    - mutable: the normal mode
    - inmutable: with this mode you can safely share Dot instance between objects

Installation
============

[](#installation)

The recommended way to install this package is through [Composer](http://getcomposer.org/download/).

```
php composer.phar require "yriveiro/dot"
```

Tests
=====

[](#tests)

Tests are performed using the `phpunit` library, to run them:

```
php vendor/bin/phpunit tests
```

Know issues
===========

[](#know-issues)

None.

How to contribute
=================

[](#how-to-contribute)

Have an idea? Found a bug?, contributions are welcome :)

Before do any contribution, please read the contribution rules described in [contribution guide](CONTRIBUTING.md)

License
=======

[](#license)

Dot is licensed under MIT license.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Unknown

Total

1

Last Release

3044d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7554ea3632f73106aa0ea29305bdb42cac32406edf0d8bdf651c703c19603986?d=identicon)[yriveiro](/maintainers/yriveiro)

---

Top Contributors

[![yriveiro](https://avatars.githubusercontent.com/u/934763?v=4)](https://github.com/yriveiro "yriveiro (36 commits)")

---

Tags

dotdot-notationdot-structuredot-syntaxtdotted-accessinmutabledotdot notationdotted accessdot syntaxtdot structure

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/yriveiro-dot/health.svg)

```
[![Health](https://phpackages.com/badges/yriveiro-dot/health.svg)](https://phpackages.com/packages/yriveiro-dot)
```

###  Alternatives

[dflydev/dot-access-data

Given a deep data structure, access data by dot notation.

718359.1M86](/packages/dflydev-dot-access-data)[league/config

Define configuration arrays with strict schemas and access values with dot notation

564302.2M24](/packages/league-config)[jawira/case-converter

Convert strings between 13 naming conventions: Snake case, Camel case, Pascal case, Kebab case, Ada case, Train case, Cobol case, Macro case, Upper case, Lower case, Sentence case, Title case and Dot notation.

1746.9M79](/packages/jawira-case-converter)[alom/graphviz

Graphviz generation for PHP

74651.4k9](/packages/alom-graphviz)[flow-php/array-dot

PHP ETL - Array Dot functions

14374.1k3](/packages/flow-php-array-dot)[selective/transformer

A strictly typed array transformer with dot-access, fluent interface and filters.

3817.8k1](/packages/selective-transformer)

PHPackages © 2026

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