spiral / app

Spiral Framework Skeleton HTTP Application: Queue, Console, Cycle ORM
https://spiral.dev/
MIT License
191 stars 20 forks source link

What are the list of middlewares the framework provides? #22

Closed sujit-baniya closed 4 years ago

sujit-baniya commented 4 years ago

When installing the framework what middleware we would get out-of-the box:

Preferred Categories

If they exists, then would be good to have some examples on how to use those.

wolfy-j commented 4 years ago

All of them, check the examples in HTTP section:

https://spiral.dev/docs/http-configuration

WebSockets located here https://spiral.dev/docs/broadcast-websockets For cors see here - https://roadrunner.dev/docs/http-headers For auth middleware - https://spiral.dev/docs/security-authentication#firewall-middleware