PHPackages                             go280286sai/search\_json - 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. go280286sai/search\_json

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

go280286sai/search\_json
========================

Search data in the json file

1.2(2y ago)023proprietaryPHP

Since Sep 18Pushed 2y ago1 watchersCompare

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

READMEChangelog (3)DependenciesVersions (4)Used By (0)

Поиск с помощюь Json
====================

[](#поиск-с-помощюь-json)

После установки пакета нам надо выполнить миграцию и добавить таблицу для индексации:

```
php artisan migrate

php artisan search:add

```

Таблицу добавляем по названию модели, например:

```
post

```

После чего надо добавить в модель trait:

```
use JsonModel;

```

Также можно указать поля которые будут индексироваться в таблице, по умолчанию будут выбираться все поля:

```
private static array $select_fields = ['title', 'description'];

```

После этого выполним:

```
php artisan search:run

```

Маршрут для поска "/search" через POST запрос или Index\_search::search\_text($text) для создания своего контроллера.

Дополнительно:

Удаляет только определенную таблицу с индексации

```
php artisan search:remove

```

Удаляет все данные таблиц, файлы и логи

```
php artisan:clear

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Every ~0 days

Total

3

Last Release

963d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/84215aad1ac57da95bdfe9dd2ebb0b9837c6e0b7b597cf667dcf58fb924b87b6?d=identicon)[go280286sai](/maintainers/go280286sai)

---

Top Contributors

[![go280286sai](https://avatars.githubusercontent.com/u/81696895?v=4)](https://github.com/go280286sai "go280286sai (6 commits)")

### Embed Badge

![Health badge](/badges/go280286sai-search-json/health.svg)

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

###  Alternatives

[ruflin/elastica

Elasticsearch Client

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

PHP Client for OpenSearch

15024.3M64](/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)
