zend-expressive
zend-expressive copied to clipboard
PSR-15 middleware in minutes!
Provide a narrative description of what you are trying to accomplish: 2.2.0 release of `zendframework/zend-expressive-zendviewrenderer` adds support for `extension` parameter for default suffix to be used by zend-view resolver, in...
I really love `Zend\Expressive` so far. To really get in rolling for beginners, I would love to see a tutorial like the Album tutorial for a `Zend\Mvc` project. It is...
Example: config ``` [ 'name' => 'my.post', 'path' => "/my", 'middleware' => [ Action\PostAction::class, Action\PostAction2::class, // add another action to react on path ], 'allowed_methods' => ['POST'], ], ``` Im...
I'm having difficulty in parsing the $request->getParsedBody() for PUT/PATCH method - it only returns empty array. I've enabled Body Parsing Middleware on my controller and it works with POST method....
I have a little module that configures the `FormElementManager` like this: ``` return[ 'form_elements' => [ 'factories' => [ PriceFieldset::class => PriceFieldsetFactory::class, ProductFormInterface::class => ProductFormFactory::class, ], ], ]; ``` This...
I've found "generate-factory-for-class" very usefull, but executing it on Windows was a small problem at first. If I could suggest a small change in this tutorial, I recomend adding a...
Following the doc [about debugbars](https://docs.zendframework.com/zend-expressive/cookbook/debug-toolbars/), the `php-middleware/php-debug-bar` neither `bitExpert/prophiler-psr7-middleware` didn't work in a 'programmatic_pipelines' context. What is the recommended way to pipe middleware only for development ? For now I've...
```sh # create project from zend-expressive-skeleton composer create-project zendframework/zend-expressive-skeleton . # run container docker run --rm -p 8080:80 -v "$PWD:/app" -w "/app" php:apache sh -c ' a2enmod rewrite rmdir /var/www/html...
Summary: explain the pros/cons, speed and other differences between the choices we have. When I first looked at zend expressive I was impressed but confused, It looked nice, but I...
I have made routes and locale middleware with this Cookbook: [setting-locale-depending-routing-parameter.md](https://github.com/zendframework/zend-expressive/blob/master/doc/book/cookbook/setting-locale-depending-routing-parameter.md) Now I wonder how I can pass the locale to Twig Extension which I use to create function {{...