composer-dist-installer:使用Composer在项目设置中自动安装模板文件(.dist)。 与框架无关

时间:2024-05-28 15:36:51
【文件属性】:

文件名称:composer-dist-installer:使用Composer在项目设置中自动安装模板文件(.dist)。 与框架无关

文件大小:22KB

文件格式:ZIP

更新时间:2024-05-28 15:36:51

PHP

作曲家Dist安装程序 类型 地位 建造 包装专家 在项目中运行composer install时自动安装.dist文件,并可以选择使用非常简单直观的模板语法将其填充数据。 该项目被设计为与框架无关。 您所需要的只是使用Composer来管理项目的依赖项。 安装 只需使用Composer通过运行即可安装: composer require cube/composer-dist-installer:~1.0@beta 用法 将以下内容添加到您的根composer.json文件中: { " scripts " : { " post-install-cmd " : [ " Cube \\ ComposerDistInstaller \\ Bootstrap::install " ] }, " extra "


【文件预览】:
composer-dist-installer-master
----.gitignore(49B)
----src()
--------Handler.php(3KB)
--------Processor()
--------Bootstrap.php(2KB)
----.travis.yml(1KB)
----composer.json(594B)
----LICENSE.txt(1KB)
----README.md(7KB)
----phpunit.xml.dist(513B)
----test()
--------Processor()
--------config()
--------fixture()
--------HandlerTest.php(5KB)

网友评论