Giter Club home page Giter Club logo

symfony-jsonrpc-params-validator's Introduction

Symfony JSON-RPC params validator

License Code size Dependabot Status

Scrutinizer Build Status Scrutinizer Code Quality Codacy Badge

CI codecov Symfony Versions

Latest Stable Version Packagist PHP version

Easy JSON-RPC params validation for yoanm/symfony-jsonrpc-http-server

Symfony bundle for yoanm/jsonrpc-params-symfony-validator-sdk

See yoanm/symfony-jsonrpc-params-sf-constraints-doc for documentation generation.

Versions

  • Symfony v3/4 - PHP >=7.1 : ^v1.0

  • Symfony v4/5 - PHP >=7.2 : ^v2.0

    ⚠️⚠️ v0.2.0 is replaced by v1.0.0 ! ⚠️⚠️

    ⚠️⚠️ v0.3.0 was badly taggued, used v2.0.0 instead ! ⚠️⚠️

  • Symfony v4.4/5.4/6.x - PHP ^8.0 : ^v2.1

How to use

Once configured, simply send JSON-RPC request to the server and validator will automatically validate params.

See below how to configure it.

Configuration

Bundle requires only one thing :

Register JSON-RPC methods as described on yoanm/symfony-jsonrpc-http-server documentation.

Contributing

See contributing note

symfony-jsonrpc-params-validator's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar yoanm avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

sbooker symfonyx

symfony-jsonrpc-params-validator's Issues

Fix bad versionning

Same mistake than there

  • Create v1.0.0 from v0.2.0
  • Create v2.0.0 from v0.3.0
  • update README with :
    - Symfony v3/4 - PHP >=7.1 : `^v1.0` 
    - Symfony v4/5 - PHP >=7.2 : `^v2.0`
    
      ⚠️⚠️ `v0.2.0` is replaced by `v1.0.0` ! ⚠️⚠️
      ⚠️⚠️ `v0.3.0` was badly taggued, used `v2.0.0` instead ! ⚠️⚠️

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.