pecl-jsonpath
JsonPath-PHP
pecl-jsonpath | JsonPath-PHP | |
---|---|---|
1 | 1 | |
18 | 191 | |
- | - | |
6.6 | 3.3 | |
4 months ago | 8 months ago | |
PHP | PHP | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pecl-jsonpath
-
Optimizing JSONPath lookups in PHP to extract data up to 7 times faster
I reached out to Mike Kaminski, the creator of the project, and asked if he’d be fine with Supermetrics taking over maintenance of the JsonPath-PHP extension. Mike didn’t have an issue with it, so he transferred the ownership of the PHP extension to Supermetrics.
JsonPath-PHP
-
How to search JSON file
If the file is very large, as you say it is, then it is generally better if the backend (PHP) does the job and responds to some requests (AJAX is fine). The easiest way I've found to search JSON is to use JsonPath, and PHP has a library that does this: https://github.com/Galbar/JsonPath-PHP
What are some alternatives?
Phalcon - High performance, full-stack PHP framework delivered as a C extension.
Symfony - The Symfony PHP framework
jsonpath-benchmark - Performance benchmarks for the JsonPath-PHP extension
Laravel - Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.
wasmer-php - 🐘🕸️ WebAssembly runtime for PHP
Composer - Dependency Manager for PHP
Zephir - Zephir is a compiled high-level language aimed to ease the creation of C-extensions for PHP
Laravel - The Laravel Framework.
parsem - Parser for YAML, JSON and NEON templates.
json - A JSON helper classes for creating JSON strings in PHP.
jsonpath - JsonPath PHP extension