jostkleigrewe / intent-core-bundle
IntentCoreBundle 是针对 Symfony 框架的
dev-master
2021-10-08 06:45 UTC
Requires
- php: ^8.0.0
- symfony/framework-bundle: ^5.0
This package is auto-updated.
Last update: 2024-09-08 12:59:12 UTC
README
使用 Symfony Flex 的应用程序
打开命令行控制台,进入您的项目目录并执行
$ composer require jostkleigrewe/intent-core-bundle
不使用 Symfony Flex 的应用程序
步骤 1:下载 Bundle
打开命令行控制台,进入您的项目目录并执行以下命令以下载此 Bundle 的最新稳定版本
$ composer require jostkleigrewe/intent-core-bundle
此命令需要您全局安装了 Composer,具体请参考 Composer 文档的安装章节。
步骤 2:启用 Bundle
然后,通过将其添加到项目 app/AppKernel.php
文件中注册的 Bundle 列表来启用此 Bundle。
<?php // app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new Jostkleigrewe\IntentCoreBundle\JostkleigreweIntentCoreBundle(), ); // ... } // ... }