Open-source PHP projects categorized as JSON

Top 23 PHP JSON Projects

  • countries

    World countries in JSON, CSV, XML and Yaml. Any help is welcome! (by mledoze)

  • Polr

    :aerial_tramway: A modern, powerful, and robust URL shortener

    Project mention: Looking for a custom wiki url shortener variation that is similar to Wikipedia's in order to shorten other Wiki sites and their contents | | 2022-07-25

    POLR is a piece of software.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • countries-states-cities-database

    🌍 World countries, states, regions, provinces, cities, towns in JSON, SQL, XML, YAML, and CSV. All Countries, States, Cities with ISO2, ISO3, Country Code, Phone Code, Capital, Native Language, Timezones, Latitude, Longitude, Region, Subregion, Flag Emoji, and Currency. #countries #states #cities

    Project mention: countries-states-cities-database VS country-state-city - a user suggested alternative | | 2022-08-29
  • serializer

    Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON. (by symfony)

    Project mention: brick/json-mapper: map JSON data to strongly typed PHP DTOs | | 2023-02-15

    Most notable differences with symfony/serializer:

  • JsonMapper

    Map nested JSON structures onto PHP classes

    Project mention: brick/json-mapper: map JSON data to strongly typed PHP DTOs | | 2023-02-15
  • psl

    📚 PHP Standard Library - a modern, consistent, centralized, well-typed, non-blocking set of APIs for PHP programmers

    Project mention: PHP 8.2 Released | | 2022-12-08

    For the order of function arguments: sounds like you'd enjoy

    Yes it's a userland workaround and not a fix for the language, but it's thinking about these issues and a PHP extension (offering better performance) is being talked about.

  • Hateoas

    A PHP library to support implementing representations for HATEOAS REST web services.

    Project mention: PHP Object Calisthenics | | 2022-08-02

    It's a joke and William Duran (the blog owner) codes in PHP. He is the author of Geocoder and others libraries (, )

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • composer-normalize

    :musical_note: Provides a composer plugin for normalizing composer.json.

    Project mention: Users of VS Code, what Composer-related features would you like to see? | | 2022-04-10

    Use composer-normalize as a formatter

  • laravel-schemaless-attributes

    Add schemaless attributes to Eloquent models

    Project mention: Choosing Between Relationships and JSON Columns | | 2022-09-16
  • jwt-framework

    JWT Framework

  • SleekDB

    Pure PHP NoSQL database with no dependency. Flat file, JSON based document database.

    Project mention: SleekwareDB - Process | | 2022-05-21

    From the very beginning of my encounter with this library, strange thoughts and images flashed through my head. Then came a part of me asking and giving suggestions for doing the appreciating process for SleekDB creators by building something on the basis of it, like I did for donjajo.

  • stream-parser

    ⚡ PHP7 / Laravel Multi-format Streaming Parser

  • php-jsondb

    A PHP Class that reads JSON file as a database. Use for sample DBs

    Project mention: Read and write long JSON files in a simple way. | | 2022-11-22

    So again, it is not "generators". But whatever function called get_json_chunk() what is actually responsible for the low memory usage. Because it is not a generator that reads your JSON files. But fread().

  • JsonMapper

    Map nested JSON structures to PHP classes (by JsonMapper)

    Project mention: brick/json-mapper: map JSON data to strongly typed PHP DTOs | | 2023-02-15
  • invoice-as-a-service

    💰 Simple invoicing service (REST API): from JSON to PDF

  • lazy-json

    🐼 Framework agnostic package to load heavy JSON into Laravel lazy collections.

  • JsonReader

    A JSON pull parser for PHP

    Project mention: [OC] The ridiculously absurd amount of pricing data that insurance companies just publicly dumped | | 2022-09-06

    The library I used ( does it in memory with no part files. That was beneficial in my use case as each node was then directly stored in a database.

  • APIx Cache

    A thin PSR-6 cache wrapper with a generic interface to various caching backends emphasising cache tagging and indexing. (by apix)

  • automobile-models-and-specs

    A database that includes automobile manufacturers, models, and engine options with specs.

  • instagram-export

    :camera: Exports all items on an Instagram profile to JSON.

  • json-parser

    🧩 Zero-dependencies pull parser to read large JSON from any source in a memory-efficient way. (by cerbero90)

    Project mention: JSON Parser: read big JSON from any source in a memory-efficient way | | 2023-01-07
  • lazy-json-pages

    🐼 Framework agnostic package using asynchronous HTTP requests and PHP generators to load paginated items of JSON APIs into Laravel lazy collections.

  • laravel-jsend

    Simple helpers to generate JSend-compliant JSON responses

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-02-15.

PHP JSON related posts


What are some of the best open-source JSON projects in PHP? This list will help you:

Project Stars
1 countries 5,674
2 Polr 4,613
3 countries-states-cities-database 4,561
4 serializer 2,253
5 JsonMapper 1,465
6 psl 1,019
7 Hateoas 998
8 composer-normalize 876
9 laravel-schemaless-attributes 844
10 jwt-framework 797
11 SleekDB 762
12 stream-parser 418
13 php-jsondb 181
14 JsonMapper 178
15 invoice-as-a-service 165
16 lazy-json 158
17 JsonReader 131
18 APIx Cache 112
19 automobile-models-and-specs 100
20 instagram-export 79
21 json-parser 75
22 lazy-json-pages 62
23 laravel-jsend 59
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives