brandonsavage / Upload

File uploads with validation and storage strategies
MIT License
1.67k stars 315 forks source link

PSR-7 compliance #76

Open RinkAttendant6 opened 8 years ago

RinkAttendant6 commented 8 years ago

PSR-7 is now accepted as a recommendation and quite a few frameworks are adopting it as a standard for HTTP request and responses.

The relevant part of PSR-7 to Upload is the UploadedFileInterface. It looks like something that the File class could possibly implement, though keep in mind that the PSR-7 objects are immutable value objects.