m6w6 / ext-apfd Goto Github PK
View Code? Open in Web Editor NEWAlways Populate Form Data
License: BSD 2-Clause "Simplified" License
Always Populate Form Data
License: BSD 2-Clause "Simplified" License
Hey mike, i've been using this extension for a long time now for PHP 7 to make my Restful API handle form-data PUT and PATCH requests.
I just migrated my project to PHP 8.2 and it seems that the extension does not support PHP ^8.2
Is that right? do you plan to add support any time soon?
Hello mike,
Do you planning to support php7? Or is it already compatible with 7?
Is this possible to update this extension for Windows? Here is *.dll file only for 5.6 https://pecl.php.net/package/apfd/1.0.1/windows
Hello,
I really like this extension, because it allows me to send PATCH/ PUT/ ... requests with a form-data body.
I'm using the Slim Framework to handle all requests.
It works great when I send a normal request with eg. Postman, where the $_POST variable gets populated correctly.
However for my unit tests i'm using PHPUnit and have to create the reqests manually with this method:
$req = Request::createFromEnvironment($env)->withParsedBody($body)
It is also described here: http://www.slimframework.com/docs/v3/cookbook/environment.html
The creation works good and the the body seems to include all the form-data parameters, but when i later try to get the parameters from the $_POST variable, it is empty.
Honestly I'm not sure if it's a problem with the requests creation or the parsing of the requests later when its submitted.
Maybe you can look at it and find the reason why it does not work. Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.