initphp/framework3
最新稳定版本:3.0.1
Composer 安装命令:
composer create-project initphp/framework3
包简介
InitPHP Framework
README 文档
README
InitPHP Framework, is the most minimalist web framework manager using MVC architecture.
This framework offers only the most essential infrastructure tools and structure. Although it is minimalist, the most basic libraries it offers have the ability to compete with large frameworks.
What does it offer?
It offers basic libraries that every project needs, such as Configurations, HTTP Routing, Database Abstraction and ORM, Multi-Language Support, Triggerable Events, User Inputs, Logger, Validation.
If you need more; You can simply integrate any Init PHP library or a different library into your project.
Installation
composer create-project initphp/framework3 MyProject
cp ./.env.example ./.env
php init key:generate
Usage
It has a file and directory structure similar to the MVC frameworks that developers are used to. The classes and libraries of your application are in the /application/ directory.
Note : If your project runs in a subdirectory, specify it in the BASE_PATH configuration in the /.env file.
You can find Route and other definitions in files and classes in the /routes/ directory.
To see the available console commands;
php init list
Docker
Docker allows you to set up your working environment and conduct your work from there. However, the Docker configuration is set up for a development environment, not for a production environment. You will need to appropriately modify the configurations for use in a production environment.
docker-compose build
docker-compose up -d
If the process has been successfully completed, your project will be waiting for you at the following address.
http://localhost:8000
Getting Help
If you have questions, concerns, bug reports, etc, please file an issue in this repository's Issue Tracker.
Contributing
All contributions to this project will be published under the MIT License. By submitting a pull request or filing a bug, issue, or feature request, you are agreeing to comply with this waiver of copyright interest.
- Fork it ( https://github.com/InitPHP/Framework3/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am "Add some feature")
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Credits
License
Copyright © 2022 MIT License
initphp/framework3 适用场景与选型建议
initphp/framework3 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 20 次下载、GitHub Stars 达 1, 最近一次更新时间为 2023 年 12 月 16 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 initphp/framework3 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 initphp/framework3 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 20
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-12-16