Download the PHP package takethelead/laravel-storyblok-file-proxy without Composer
On this page you can find all versions of the php package takethelead/laravel-storyblok-file-proxy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download takethelead/laravel-storyblok-file-proxy
More information about takethelead/laravel-storyblok-file-proxy
Files in takethelead/laravel-storyblok-file-proxy
Package laravel-storyblok-file-proxy
Short Description File proxy for Storyblok
License MIT
Homepage https://github.com/takethelead/laravel-storyblok-file-proxy
Informations about the package laravel-storyblok-file-proxy
Laravel Storyblok File Proxy
Convert Storyblok file urls to local urls and proxy them through your Laravel application. You can easily add extra middlewares to the proxy route, for example to add extra authorization checks.
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Usage
Proxy route
The package will proxy files through the application, therefore it registers a route in the application. You can define a custom base slug in the config file, this way you can prevent collision with your existing routes.
Through the config file you can also specify the route middleware (groups) that should be applied to the route.
Convert Storyblok urls to local urls
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Joren Van Hocht
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-storyblok-file-proxy with dependencies
guzzlehttp/guzzle Version ^7.0
illuminate/container Version ^9.0|^10.0
illuminate/http Version ^9.0|^10.0
illuminate/routing Version ^9.0|^10.0
illuminate/support Version ^9.0|^10.0
ext-fileinfo Version *