rekalogika/temporary-url-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rekalogika/temporary-url-bundle

最新稳定版本:1.7.2

Composer 安装命令:

composer require rekalogika/temporary-url-bundle

包简介

Symfony bundle for creating temporary URLs to your resources. You provide the resource in a plain PHP object, and a service to turn it into a HTTP response. The framework handles the rest.

README 文档

README

Symfony bundle for creating temporary URLs to your resources. You provide the resource in a plain PHP object, and a service to turn it into a HTTP response. The framework handles the rest.

Synopsis

use Rekalogika\TemporaryUrl\Attribute\AsTemporaryUrlServer; use Rekalogika\TemporaryUrl\TemporaryUrlGeneratorInterface; use Symfony\Component\HttpFoundation\Response; class MyData { public string $name = 'John Doe'; } class MyDataServer { #[AsTemporaryUrlServer] public function respond(MyData $data): Response { return new Response('My name is ' . $data->name); } } /** @var TemporaryUrlGeneratorInterface $temporaryUrlGenerator */ $myData = new MyData; $myData->name = 'Jane Doe'; $url = $temporaryUrlGenerator->generateUrl($myData);

Documentation

rekalogika.dev/temporary-url-bundle

License

MIT

Contributing

Issues and pull requests should be filed in the GitHub repository rekalogika/temporary-url-bundle.

统计信息

  • 总下载量: 11.54k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固