manuelgil/ci4-twig
Composer 安装命令:
composer create-project manuelgil/ci4-twig
包简介
🔥 Boilerplate: Twig template engine for CodeIgniter 4 framework
关键字:
README 文档
README
🔥 Boilerplate: Twig template engine for CodeIgniter 4 framework. This project is a simple and fast way to start a new project with CodeIgniter 4 and Twig Template Engine.
This project is based on the Codeigniter 4 with Template Engine.
Requirements
- PHP 8.1 or later
Installation
Copy this project
- Clone or Download this repository
- Unzip the archive if needed
- Rename the folder if needed
- Start a Text Editor (VSCode, Sublime, PHPStorm, etc)
- Add the project folder to the editor
Install the project
You can install this project via composer with the following commands:
Development
- Required a composer installation.
composer install
- Downloading composer.phar.
sudo php composer.phar install
Production
- Required a composer installation.
composer install --no-dev --optimize-autoloader
- Downloading composer.phar.
sudo php composer.phar install --no-dev --optimize-autoloader
Configure the project
- Copy the
envfile and call it.env.
cp env .env
-
Edit the environment variables in the .env file as you need.
-
Make www-data the owner to
writablefolder.
sudo chown -R www-data: writable/
- Start project
php spark serve
Built With
- CodeIgniter 4.5.4 (CodeIgniter)
Changelog
See CHANGELOG.md
Contributing
Thank you for considering contributing to alternative admin. The contribution guide can be found in the CONTRIBUTING.md.
Code of Conduct
In order to ensure that the alternate admin community is welcoming to all, please review and abide by the CODE_OF_CONDUCT.
Authors
- Manuel Gil - Owner - ManuelGil
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the MIT for details.
manuelgil/ci4-twig 适用场景与选型建议
manuelgil/ci4-twig 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 10 次下载、GitHub Stars 达 8, 最近一次更新时间为 2022 年 10 月 07 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「php」 「twig」 「template」 「mvc」 「codeigniter」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 manuelgil/ci4-twig 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 manuelgil/ci4-twig 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 manuelgil/ci4-twig 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Shoot aims to make providing data to your templates more manageable
This Symfony bundle integrates PhpSpreadsheet into Symfony using Twig.
A Twig extension to insert css as inline styles with a tag
Caching and compression for Twig assets (JavaScript and CSS).
Twig extensions for Tracy Debugger
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-10-07