lewiscowles/rfc1867

rfc-1867 implementation for PHP

2.0.1 2018-02-17 11:46 UTC

This package is not auto-updated.

Last update: 2024-12-22 05:29:22 UTC


README

Build Status

Fresh PHP implementation of rfc1867

  • Originally I had planned on using https://github.com/imiskolee/FormUpload
    • bound to CURL (we all use it, but I found the API cumbersome)
    • I wanted to be able to inject any PSR compliant Request source instead
    • Turns out it doesn't support multipart (this now passes the examples given in the RFC, I would like to make it more Robust)
    • I wanted to put a composer.json in and bundle it onto packagist

Working with

composer

composer require lewiscowles/rfc1867
composer install
composer dumpautoload

dev testing

git clone https://github.com/Lewiscowles1986/rfc1867
cd rfc1867
composer install
composer dumpautoload
phpunit

Class Diagram

Overview (using plantUML)

Class Relationship Diagram

Application-level view (powerpoint + plantUML SVG output)

Another Class Relationship Diagram

Contributing

I'd really like to ensure this is more robust (presently it's a reference coded in a few hours)

Goals

  • I'd love to be able to get a few more RFC's implemented with unit-tests.
  • I'd like for this to be an alternative to reading the RFC documentation.
  • I'd like to de-couple from the guzzle/http-message and have that only as a dev dependency for unit-tests.