2017 © Pedro Peláez
 

library rfc1867

rfc-1867 implementation for PHP

image

lewiscowles/rfc1867

rfc-1867 implementation for PHP

  • Wednesday, April 25, 2018
  • by LewisCowles1986
  • Repository
  • 1 Watchers
  • 2 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 6 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

rfc1867

Build Status, (*1)

Fresh PHP implementation of rfc1867, (*2)

  • 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, (*3)

Application-level view (powerpoint + plantUML SVG output)

Another Class Relationship Diagram, (*4)

Contributing

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

  • We need issues so that unit-test cases can be made
  • We need testing with an endpoint that parses rfc1867
  • We need clarification on binary encoding format and to encompass that into Attachment implementation
  • We probably need to split into a few smaller projects
    • separate NodeInterface repo
    • separate FormInput and Attachment
  • See https://www.rfc-editor.org/rfc-index.html and find related RFC's for interop & advancement
    • https://www.rfc-editor.org/rfc/rfc1867.txt
    • https://www.rfc-editor.org/rfc/rfc2854.txt
    • https://www.rfc-editor.org/rfc/rfc2388.txt
    • https://www.rfc-editor.org/rfc/rfc7578.txt
  • All changes require the following
    • tests to pass
    • class-diagram to be updated (as necesarry)
    • documentation to be updated (as necesarry)

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.

The Versions

25/04 2018

dev-master

9999999-dev

rfc-1867 implementation for PHP

  Sources   Download

AGPL-3.0 AGPL

The Requires

 

The Development Requires

by Lewis Cowles

17/02 2018

2.0.1

2.0.1.0

rfc-1867 implementation for PHP

  Sources   Download

AGPL-3.0

The Requires

 

The Development Requires

by Lewis Cowles

17/02 2018

1.1.2

1.1.2.0

rfc-1867 implementation for PHP

  Sources   Download

AGPL-3.0

The Requires

 

The Development Requires

by Lewis Cowles

17/02 2018

1.1.1

1.1.1.0

rfc-1867 implementation for PHP

  Sources   Download

AGPL

The Requires

 

The Development Requires

by Lewis Cowles

11/07 2017

1.0.1

1.0.1.0

rfc-1867 implementation for PHP

  Sources   Download

AGPL

The Requires

 

The Development Requires

by Lewis Cowles

10/07 2017

1.0.0

1.0.0.0

rfc-1867 implementation for PHP

  Sources   Download

The Requires

 

The Development Requires

by Lewis Cowles