response-xml icon indicating copy to clipboard operation
response-xml copied to clipboard

The missing XML support for Laravel's Response class.

Results 10 response-xml issues
Sort by recently updated
recently updated
newest added

Update `spatie/array-to-xml` to latest version

Hello, I would like to propose a little improvement to CI/CD workflow. This is a PR with Github Actions file which initiates a full test run on a push or...

Hello, I would like to propose a little improvement to the function naming. It increases consistency.

It requires version 2, but 3 is already available.

Hi, while testing ->preferredFormat() with Chrome I got an ERR_INVALID_SIGNED_EXCHANGE error. The response had a bad content-type, as it uses the full Accept-Header, e.g. ```` text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9; charset=UTF-8 ```` Of course,...

I am trying to return a collection as xml using the following code snippet: ```php $data = Order::all(); return response()->xml($data); ``` However, I am getting the following response: ` DOMException:...

After running: composer require mtownsend/response-xml I get the following error: PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///cygdrive/c/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/Solver.php on line 220...

So, i use array to send response like this : `$response = [ 'status' => 200, 'message' => 'Success', 'description' => '', 'data' => $user->toArray() ];` when i use `return...

I would like to learn how to add attributes to the XML tag Currently my response results to the below code ``` InvoiceNumber 988899999 ``` I would like to get...

Hello, I'm using `response()->preferredFormat()` . Sometimes I like to get xml or json, depending on the Accept header. If I don't set the Accept header, my API will return JSON...