Skip to content
DyljynPublic

About

A small declarative JSON library for PHP

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Json

A small declarative JSON library for PHP.

Requirements

  • PHP 8.3 or newer.

Installation

Add the GitHub repository to your composer.json:

{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/Dyljyn/php-json"
    }
  ]
}

Then install the package:

composer require dyljyn/json

Modules

Decode

Composable decoders for validating and extracting values from JSON data.

Inspired by Elm's Json.Decode.

use Dyljyn\Json\Decode;

Schema

Helpers for composing JSON Schema definitions using PHP.

use Dyljyn\Json\Schema;

About

A small declarative JSON library for PHP

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages