Componette

Componette

contributte

contributte / api v0.4.0

๐Ÿ†– Powerful, documented, validated, built-in API to Nette Framework. (@nette)

Website ๐Ÿš€ contributte.org | Contact ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป f3l1x.io | Twitter ๐Ÿฆ @contributte

Usage

To install the latest version of contributte/api use Composer.

composer require contributte/api

Documentation

For details on how to use this package, check out our documentation.

Version

State Version Branch Nette PHP
dev ^0.5 master 3.1+ >=8.1
stable ^0.4 master 3.1+ >=8.1

Development

See how to contribute to this package.

This package is currently maintaining by these authors.


Consider to support contributte development team. Also thank you for using this package.

  • v0.4.0 v0.4.0

    Bumped! ๐Ÿ”„

    Diff: v0.3...v0.4.0

    Changes:

  • v0.3 v0.3

    Bump! ๐Ÿ”ช

    Diff: v0.2.2...v0.3

    Changes:

    • namespace refactoring (drop Bridges)
    • rename Factory/Generator to Serialization
    • rename Validators to Validations
    • ApiResponse/ApiRequest don't composite PSR7, they extend
    • simplify whole middlewares usage
    • simplify ApiExtension
    • added new Api2MiddlewaresExtension to easy use of middlewares
    • simplify Transformers (from 2 interfaces to 1 interface)
    • direct dependencies: contributte/psr7-http-message, contributte/middlewares, contributte/phpdoc
    • tiny micro refactorings
    • added huge amount of tests
  • v0.2.2 v0.2.2

    Bump! :goberserk:

    Diff: v0.2.1...v0.2.2

    Changes:

    • added schema validators [#1] [#2]
    • analyse via phpstan [#10]
    • added content negotiation
    • many small improvements
  • v0.2.1 v0.2.1

    Bump! ๐Ÿšณ

    v0.2...v0.2.1

    Changes:

    • strickness ApiRouter matching
  • v0.2 v0.2

    Bumped! ๐Ÿ•

    Diff: v0.1...v0.2

    Changes:

    • rewritten ApiMiddleware (BC!)
    • introduced invokers concept:
      • ApiRouter (maps and parses request URL(s))
      • ApiContentNegotiation (converts data to any formats)
        • UrlNegotiator (negotiates content data by URL suffix)
          • JsonTransformer (encodes / decodes data)
      • ApiEmitter (passes requests to ApiDispatcher)
      • synchronize trailing slashes (at the start, at the end)
  • v0.1 v0.1

    First bump! ๐Ÿ‘Š

Componette Componette felix@nette.org