From c5274819d11acf521fe23bffe433ee3758d21f83 Mon Sep 17 00:00:00 2001 From: Moamen Eltouny Date: Thu, 8 Oct 2026 13:05:03 +0300 Subject: [PATCH] Show six feature cards in the documentation overview --- CHANGELOG.md | 6 ++++++ docs/sections/01-overview.md | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f729be6..5fb255d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## 8.0.1 - Unreleased + +### Changed + +- The documentation overview shows six feature cards, adding Reference Mode and ArrayAccess & Countable. + ## 8.0.0 - 2026-10-08 Rebuilt the path engine. `get()`, `has()`, `set()`, `delete()` and `pull()` now share one path parser and one set of wildcard matching rules, documented in [`docs/`](docs/sections) and on [pharaonic.dev](https://pharaonic.dev/packages/php/dot-array). diff --git a/docs/sections/01-overview.md b/docs/sections/01-overview.md index 65a3648..ab968e8 100644 --- a/docs/sections/01-overview.md +++ b/docs/sections/01-overview.md @@ -20,6 +20,12 @@ Read, write, check and delete values in deeply nested PHP arrays using dot-notat ### Escaping {icon="pencil"} `config.app\.name` reads the key `app.name`; `items.\*` reads the key `*`. + +### Reference Mode {icon="switch"} +`setReference($array)` writes every change straight to your own array. + +### ArrayAccess & Countable {icon="lines"} +`$dot['user.name']`, `isset()`, `unset()`, `count()`, iteration and `json_encode()` all work. ::: :::info Quick Tip