runroom-packages/redirection-bundle

在 Sonata Admin 界面管理重定向

0.19.1 2024-09-06 13:59 UTC

README

Latest Stable Version Latest Unstable Version License

Total Downloads Monthly Downloads Daily Downloads

此包提供了在 Sonata 后台管理中管理重定向的能力。

安装

打开命令行,进入您的项目目录,然后执行以下命令以下载此包的最新稳定版本

composer require runroom-packages/redirection-bundle

启用包

然后,通过将其添加到 config/bundles.php 文件中已注册的包列表中来启用该包

// config/bundles.php

return [
    // ...
    Runroom\RedirectionBundle\RunroomRedirectionBundle::class => ['all' => true],
];

更新 doctrine 模式

最后,执行 doctrine 模式更新以创建新表

console doctrine:schema:update --force

贡献

此包的源代码包含在 Runroom monorepo 中。我们欢迎在 runroom/runroom-packages 上对此包的贡献。

许可证

此包采用 MIT 许可证