Componette

Componette

contributte

contributte / apitte-negotiation v0.7.0

Content-Negotiation support for Apitte stack

download-cloud-line composer require apitte/negotiation

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

Usage

To install the latest version of apitte/negotiation use Composer.

composer require apitte/negotiation

Documentation

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

Version

State Version Branch Nette PHP
stable ^0.8 master 3.0+ >=7.3
stable ^0.5 master 2.4 >=7.1

Development

See how to contribute to this package.

This package is currently maintaining by these authors.

Sponsoring


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

  • v0.7.0 v0.7.0

    Diff: v0.6.0...v0.7.0

    Changes:

    • Required apitte/core ~0.7
    • Opened for php8 and modernized @vody105
    • Used ApiException only @mabar
  • v0.6.0 v0.6.0

    Diff: v0.5...v0.6.0

    Changes:

  • v0.5 v0.5

    Diff: v0.4...v0.5

    Changes:

    • rewrited documentation
    • core v0.5
    • negotiator tags are optional ddef7bf
    • removed option catchException, it's now configured in core 0a1848d
    • add context from error to response only if not empty 22a1e60
  • v0.4 v0.4

    Bump! ๐ŸŽ‰

    Diff: v0.3...v0.4

    Changes:

    • Strict types and native typehints
    • Handle errors properly
      • each transformer (csv, json) transform exception messages which are not designed to be displayed for user into a general message (in production mode only, it's a security feature)
      • each transformer set http code and error message into response properly
  • v0.3 v0.3

    Bump! ๐ŸŽƒ

    Diff: v0.2.1...v0.3

    This is last release for PHP 5.6.

  • v0.2.1 v0.2.1

    Bump! ๐Ÿ‡ง๐Ÿ‡ฉ

    Diff: v0.2...v0.2.1

    Changes:

    • added ObjectEntity [#3]
  • v0.2 v0.2

    Bump! ๐Ÿ‡ซ๐Ÿ‡ฐ

    Diff: v0.1.1...v0.2

    Changes:

    • display better message if there's exception
    • added MappingEntity
  • v0.1.1 v0.1.1

    Bump! โ›ต

    Diff: v0.1...v0.1.1

    Changes:

    • bugfix ResponseEntityDecorator.php
  • v0.1 v0.1

    First bump! ๐Ÿ‘Š

bar-chart-fill

Statistics

download-cloud-fill
146602
star-fill
4
bug-fill
0
flashlight-fill
10d
price-tag-2-line

Badges

guide-fill

Dependencies

php (^7.2)
apitte/core (^0.7.0)
Componette Componette felix@nette.org