babdev / laravel-server-push-manager
HTTP/2 server push manager for Laravel
Fund package maintenance!
mbabker
Installs: 14 968
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 4
Forks: 1
Open Issues: 0
Requires
- php: ^8.1
- fig/link-util: ^1.2
- illuminate/http: ^10.0 || ^11.0
- illuminate/support: ^10.0 || ^11.0
- psr/link: ^1.1.1 || ^2.0.1
Requires (Dev)
- laravel/framework: ^10.0 || ^11.0
- orchestra/testbench: ^8.0 || ^9.0
- phpunit/phpunit: ^9.6 || ^10.0
README
Laravel package adding a HTTP/2 server push manager to your Laravel applications.
Why Another Package?
There are already other packages such as jacobbennett/laravel-http2serverpush, tomschlick/laravel-http2-server-push, or spatie/laravel-mix-preload, so why a new package?
Unlike other existing packages which are focused on automatically including resources, this package aims to provide an API to allow developers to configure server push headers for any resource with a maximum amount of flexibility. The API for this package is inspired by the WebLinkExtension of Symfony's TwigBridge.
Documentation
Please see the BabDev website for detailed information on how to use this package.
Security
If you believe you have discovered a security issue with this package, please email michael.babker@gmail.com with information about the issue. Do NOT use the public issue tracker for security issues.
License
This package is licensed under the MIT License. See the LICENSE file for full details.