apie/apie-project-starter
Composer 安装命令:
composer require apie/apie-project-starter
包简介
create an apie project
README 文档
README
Apie Project Starter
This package is part of the Apie library.
Documentation
Apie project starter. This is the easiest way to start working with Apie! It uses the create-project option of Composer and will ask you a few questions for configuration.
Installing with composer create-project
The easiest solution is to use composer create-project:
composer create-project apie/apie-project-starter app -s dev
This creates a new Apie application in app. When you run this it will ask a few questions, like do you want to use Symfony or Laravel and how much should be added.
Installing without composer create-project
You can clone this repo and just call:
bin/start-project start-project
Afterwards you still need to run composer install to install the vendor libraries.
Running the created project with development settings (Symfony)
If you picked Symfony or just skipped the question it will install Symfony as framework. You can follow the instructions on how to run a dev server in the Symfony documentation: https://symfony.com/doc/current/setup/symfony_server.html
Configuring database connections (Symfony)
By default the starter is configured to install everything in a sqlite file. If you want to change this open config/apie.yaml and look for the section with doctrine, connection_params. The available options are the same as the doctrine bundle DBAL configuration.
Running the created project with development settings (Laravel)
If you picked Laravel it will install Laravel as framework. You can start a test server by filling in the terminal
./artisan serve
Configuring database connections (Laravel)
By default the starter is configured to install everything in a sqlite file. If you want to change this open config/apie.php and look for the section with doctrine, connection_params. The available options are the same as the doctrine bundle DBAL configuration.
Editing/modifying the project starter
You can checkout this repo and test the create-project functionality with make and running this
make test-project
It will create/replace the application in the folder test-project. Most files are generated by Symfony flex or by the console command by reading twig templates.
apie/apie-project-starter 适用场景与选型建议
apie/apie-project-starter 是一款 基于 Twig 开发的 Composer 扩展包,目前已累计 144 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 09 月 21 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 apie/apie-project-starter 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 apie/apie-project-starter 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 144
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-21