snaju/inception
Composer 安装命令:
composer require snaju/inception
包简介
A lightweight PHP based web framework built by Snaju Development
README 文档
README
inception
A lightweight PHP based web framework built by Snaju Development
<br />
<a href="https://docs.dev.snaju.com/inception"><strong>Explore the docs »</strong></a>
<br />
<br />
<a href="https://git.hou.snaju.com/snaju-oss/inception/issues">Report Bug</a>
·
<a href="https://git.hou.snaju.com/snaju-oss/inception/issues">Request Feature</a>
Table of Contents
About The Project
Getting Started
To get a local copy up and running follow these simple steps.
Prerequisites
- PHP
^7.4|^8.0 - NodeJS
^14.16
Installation
- Clone the repo
git clone https://git.hou.snaju.com/snaju-oss/inception-framework.git - Install node dependencies
npm install - Install composer dependencies
composer install - Move
.env-exampleto.envand create database and update details - If using port for php server other than
8888, updategulpfile.jsline 29 with the proper port
Usage
For dev you can use one of the npm scripts.
npm run startwill start a dev server that injects js/css for live reloading and refreshes when templates are updated. Note: If using an IDE like PHPStorm, updates to file system are delayed which means the reload is not triggered until the IDE is unfocused.If using port for php server other than
8888, updategulpfile.jsline 29 with the proper port
// TODO
For more examples, please refer to the Documentation
Roadmap
- [X] File-based Routing System
- [X] Twig Rendering
- [X] Global & Route Middleware
- [X] Route Events (Start, Process, End, Fallback)
- [X] Basic Response Handling (view, json)
- [X] Request Validators
- [X] Exception Handling
- [X] Global Functions
- [] Plugins
- [] Auto API Adapters and Responses
See the open issues for a list of proposed features (and known issues).
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE for more information.
Contact
Snaju Development - @snajullc - dev@snaju.com
Project Link: https://git.hou.snaju.com/snaju-oss/inception
Acknowledgements
snaju/inception 适用场景与选型建议
snaju/inception 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 859 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 01 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 snaju/inception 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 snaju/inception 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 859
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 14
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2021-01-14