jwadhams/json-logic-php
Evaluate JsonLogic rules in PHP to share and store business logic across frontend and backend. Parses JSON-formatted logic (arrays/objects), supports nesting, comparisons, boolean ops, and data-driven evaluation via JsonLogic::apply with input data.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| drinks-it/rule-engine | 0.81 | — | 1 | 1 | 0 | 14 | 0 | 9.0 | 12.5 | MIT | 2 years ago | |
| swaggest/json-diff | 0.80 | PHP library for comparing and diffing JSON structures. Generate human-readable diffs and apply patches to reconcile documents, helping detect changes between API responses, configs, and data snapshots with support for nested objects and arrays. | 244 | 248 | 33 | 865K | 8 | 13.7 | 51.9 | MIT | 1 year ago | |
| staudenmeir/eloquent-json-relations | 0.80 | Adds JSON foreign key support to Laravel Eloquent relationships (belongsTo, hasMany, morph*, through). Also enables many-to-many and has-many-through relations using JSON arrays (IDs or objects) across MySQL, Postgres, SQLite, SQL Server. | 1,080 | 1,084 | 64 | 344K | 6 | 24.2 | 37.9 | MIT | 8 months ago | |
| php-junior/pricing-engine | 0.79 | — | 9 | 9 | 1 | 0 | 0 | 3.6 | — | MIT | 10 months ago | |
| novius/laravel-json-casted | 0.79 | Cast JSON columns in Laravel models with per-key casting. Define sub-key casts via a method or dedicated cast class; values are exposed as a Fluent object with proper types (e.g., Carbon dates). Supports PHP 8.2+ and Laravel 10+. | 1 | 1 | 0 | 422 | 0 | 10.2 | 34.6 | AGPL-3.0 | 7 months ago | |
| scienta/doctrine-json-functions | 0.79 | Adds JSON function support to Doctrine ORM DQL by registering custom function nodes for multiple databases. Use MySQL/MariaDB, PostgreSQL, SQLite (json1), or SQL Server JSON functions directly in DQL with platform validation. | 593 | 596 | 50 | 912K | 12 | 24.2 | 50.6 | MIT | 7 months ago | |
| flow-php/etl-adapter-json | 0.79 | Laravel-friendly adapter for Flow PHP ETL that reads and writes JSON data, enabling JSON files or streams to be used as ETL sources and destinations. Simple integration with pipelines for transforming and loading structured data. | 6 | 6 | 3 | 5K | 0 | 0.1 | 39.7 | MIT | — | |
| bcncommerce/json-stream | 0.78 | Stream JSON reading and writing for PHP. Incrementally parse or generate large JSON documents from file handles without loading everything into memory. Supports entering/leaving objects and arrays, reading keys or iterating items—ideal for exports/imports like product catalogs. | 65 | 68 | 10 | 47K | 2 | 2.2 | 39.3 | MIT | 5 years ago | |
| event-engine/php-json-schema | 0.78 | Event Engine JSON Schema package for PHP. Generate/use JSON Schema with ImmutableRecord type detection. v1.x detects types via method return hints (PHP 7.2–7.3); v2.x uses PHP 7.4+ typed properties for improved schema support. | 6 | 6 | 4 | 3K | 2 | 6.4 | 36.1 | MIT | 1 year ago | |
| leongrdic/smplang | 0.78 | SMPLang is a small PHP language/parser package for defining and evaluating simple expressions in your app. Useful for lightweight DSLs, rules, filters, or templating-like syntax, with an emphasis on minimal setup and easy integration into Laravel projects. | 16 | 16 | 4 | 56K | 1 | 1.4 | 48.9 | — | 4 years ago | |
| php-open-source-saver/fractal | 0.78 | Fractal is a maintained fork of thephpleague/fractal for transforming complex data into consistent API output. Provides a presentation layer with transformers, type casting, relationship includes, custom serializers, and pagination support for JSON/YAML APIs. | 4 | 4 | 2 | 79K | 0 | 4.7 | 56.9 | MIT | 10 months ago | |
| php-jsonpointer/php-jsonpointer | 0.78 | RFC6901 JSON Pointer implementation for PHP 8.1+. Parse JSON and retrieve values using pointer paths (e.g. /foo, /bar/baz, /qux/0) with proper escaping and clear exceptions for invalid JSON or missing references. | 92 | 96 | 10 | 932K | 1 | 0.9 | 55.2 | MIT | — | |
| cknow/laravel-money | 0.78 | — | 1,045 | 1,050 | 101 | 272K | 3 | 25.8 | 36.3 | MIT | 7 months ago | |
| apimatic/jsonmapper | 0.77 | apimatic/jsonmapper is a lightweight PHP JSON-to-object mapper for converting API responses into typed models. It maps arrays/JSON to class properties with minimal setup, supports nested structures, and helps keep data hydration consistent across your application. | 24 | 26 | 7 | 507K | 7 | 10.8 | 57.2 | OSL-3.0 | 1 year ago | |
| datto/json-rpc | 0.77 | Lightweight PHP library for building and parsing JSON-RPC 2.0 messages. Fully spec compliant, 100% unit-tested, and transport-agnostic so you can use HTTP, SSH, or any channel. Includes simple Client/Server APIs and working examples. | 194 | 197 | 43 | 22K | 2 | 2.9 | 29.1 | LGPL-3.0 | — | |
| php-standard-library/json | 0.77 | A small PHP Standard Library package for JSON encoding and decoding with typed exceptions and sensible defaults, providing predictable error handling for safer serialization in Laravel and other PHP projects. | 1 | 1 | 0 | 96K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| ekyna/sale | 0.77 | Laravel/PHP interfaces and traits for sales management. Provides core abstractions to model and manage sale workflows and related behaviors (e.g., timestampable traits). Lightweight component intended for integration into larger commerce/payment systems. | 0 | 0 | 0 | 2 | 0 | 0.3 | 6.6 | MIT | 11 years ago | |
| dunglas/doctrine-json-odm | 0.77 | Store PHP objects as JSON documents in PostgreSQL JSONB or MySQL JSON columns alongside traditional Doctrine ORM mappings, enabling schema-less, NoSQL-like hybrid data models with fast querying and indexing. | 631 | 634 | 74 | 266K | 15 | 33.6 | 48.6 | MIT | 1 month ago | |
| moneyphp/money | 0.77 | Money PHP is a library for safe, precise monetary handling using value objects instead of floats. It supports string-based big integers, allocation, formatting, ISO currency repositories, and currency exchange, with BCMath and optional GMP. | 4,874 | 4,908 | 445 | 6M | 1 | 57.7 | 48.6 | MIT | 6 months ago | |
| thecodingmachine/phpstan-strict-rules | 0.77 | Extra-strict PHPStan ruleset that flags risky or inconsistent PHP patterns beyond the default checks. Helps enforce cleaner, safer code by catching edge cases and enforcing best practices, with easy opt-in configuration for existing PHPStan setups. | 287 | 289 | 27 | 54K | 7 | 26.3 | 36.8 | — | 4 months ago |
How can I help you explore Laravel packages today?