PHPackages                             boadusamuel/search-nested-json-column - 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. [Search &amp; Filtering](/categories/search)
4. /
5. boadusamuel/search-nested-json-column

ActiveLibrary[Search &amp; Filtering](/categories/search)

boadusamuel/search-nested-json-column
=====================================

Search Nested json column inside database with no case sensitivity

11PHP

Since Oct 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/boadusamuel/SearchNestedJsonColumn)[ Packagist](https://packagist.org/packages/boadusamuel/search-nested-json-column)[ RSS](/packages/boadusamuel-search-nested-json-column/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Search Nested JSON Database Column
==================================

[](#search-nested-json-database-column)

This package enables you make search inside nested json column in a database without case sensitivity inside laravel projects.

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

[](#installation)

You can install the package via composer:

`composer require boadusamuel/search-nested-json-column `

Usage
-----

[](#usage)

After installing the package, you can use the trait in your model like so:

```
use Boadusamuel\SearchNestedJsonColumn\SearchNestedJsonColumn;

class Product extends Model { use SearchNestedJsonColumn; }

```

Then you can use the search method like so:

```
Product::query()->when($search, function (Builder $query) use ($search) {
    $this->searchJsonColumn($query, 'attribute_data->name->value->en', $search);
})->get();

```

Where `attribute_data` is the json column and `name->value->en` is the nested column you want to search. Also `$search` is the value you want to search for and `$this` referring to the model with the `SearchNestedJsonColumn` trait.

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ad594f78104aec70e1275ec83235c95e5f7d37b758fa24e41c709f8b2d54efbc?d=identicon)[boadusamuel](/maintainers/boadusamuel)

---

Top Contributors

[![boadusamuel](https://avatars.githubusercontent.com/u/60040101?v=4)](https://github.com/boadusamuel "boadusamuel (7 commits)")

### Embed Badge

![Health badge](/badges/boadusamuel-search-nested-json-column/health.svg)

```
[![Health](https://phpackages.com/badges/boadusamuel-search-nested-json-column/health.svg)](https://phpackages.com/packages/boadusamuel-search-nested-json-column)
```

###  Alternatives

[ruflin/elastica

Elasticsearch Client

2.3k50.4M203](/packages/ruflin-elastica)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15024.3M65](/packages/opensearch-project-opensearch-php)[mailerlite/laravel-elasticsearch

An easy way to use the official PHP ElasticSearch client in your Laravel applications.

934529.3k2](/packages/mailerlite-laravel-elasticsearch)[massive/search-bundle

Massive Search Bundle

721.4M13](/packages/massive-search-bundle)[shyim/opensearch-php-dsl

OpenSearch/Elasticsearch DSL library

175.9M9](/packages/shyim-opensearch-php-dsl)[outl1ne/nova-multiselect-filter

Multiselect filter for Laravel Nova.

45802.7k3](/packages/outl1ne-nova-multiselect-filter)

PHPackages © 2026

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