yolo239 / lorem-ipsum-bundle
快乐的 lorem ipsum
dev-main
2020-10-22 20:39 UTC
Requires
- php: ^7.1.3
- symfony/config: ^3.4 || ^4.0
- symfony/dependency-injection: ^3.4 || ^4.0
- symfony/event-dispatcher: ^3.4 || 4.0.*
- symfony/http-kernel: ^3.4 || 4.0.*
Requires (Dev)
- symfony/browser-kit: ^3.4 || ^4.0
- symfony/framework-bundle: ^3.4 || ^4.0
- symfony/phpunit-bridge: ^3.4 || ^5.1
This package is auto-updated.
Last update: 2024-09-23 05:56:32 UTC
README
请确保全局安装了Composer,如Composer文档中的安装章节所述。
使用Symfony Flex的应用程序
打开命令行,进入项目目录,并执行以下命令
$ composer require yolo239/lorem-ipsum-bundle
不使用Symfony Flex的应用程序
步骤 1:下载Bundle
打开命令行,进入项目目录,然后执行以下命令以下载此Bundle的最新稳定版本
$ composer require yolo239/lorem-ipsum-bundle
步骤 2:启用Bundle
然后,将Bundle添加到项目config/bundles.php
文件中注册的Bundle列表中,以启用它
配置
# Default configuration for extension with alias: "knpu_lorem_ipsum" knpu_lorem_ipsum: # Whether or not you believe unicorns are real unicorns_are_real: true # How much do you like sunshine? min_sunshine: 3
// config/bundles.php return [ // ... KnpU\LoremIpsumBundle\KnpULoremIpsumBundle::class => ['all' => true], ];