aimedev/elephaime
最新稳定版本:2.6.1
Composer 安装命令:
composer require aimedev/elephaime
包简介
Ready-to-use lightweight MVC framework. For your small PHP website. Inspired by Laravel 9.
README 文档
README
Ready-to-use lightweight MVC framework. For your small PHP website. Inspired by Laravel 9.
This package can work as a Composer dependency or as a Git submodule.
A script is provided to help you initialize required files.
Base requirements
php >= 7.4- (optional)
npm (>= 7.11)withlaravel-mixfor SASS - (optional)
crontabaccess, for enabling console tasks
Installation
With Composer >=2.4
composer require aimedev/elephaime
With Git >=2.30.2
git submodule add -b main https://gitlab.com/aimedev/elephaime.git
#### OR ####
# In your .gitmodules file
[submodule "elephaime"]
path = elephaime
url = git@gitlab.com:aimedev/elephaime.git
branch = main
Then update the submodule to get the last version:
git config status.submodulesummary 1
git submodule update --init --remote
Initializing the project
# One-time command for a easier access to the brain tool
php vendor/aimedev/elephaime/src/brain copy # With Composer
php elephaime/src/brain copy # With Git
# For copying default files (required)
php brain init
# If you want to use Laravel Mix (SASS / TypeScript / and static images)
npm install
npm run dev
# Or for raw CSS and JavaScript files
php brain assets
Setting up the environment
After the installation, please take a look at the .env file to configure your environment.
To enable console tasks, add this line to your cron table (crontab -e with Debian):
* * * * * /path/to/your/project/www/index.php
After these steps, you should check out your new Routes/web.php file:
/path/to/your/project/app/Routes/web.php
Structure
If you are learning the MVC pattern, take a look at this course.
Elephaime is a standalone package which works by being at the root-level of your project. You will only edit files in the app directory, in which you will write PHP classes under the App\ namespace.
Usage
Please take a look at the USAGE.md file.
About
In a way, Elephaime is the "unwanted child" of the Laravel framework.
It is an easy way to use a Model-View-Controller structure with PHP (with a lower-level of complexity than Laravel).
It comes with built-in routing, localization, databases and security features.
Elephaime is provided by Nolan aimedev.
🎫 Submit an issue (French / English)
aimedev/elephaime 适用场景与选型建议
aimedev/elephaime 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 53 次下载、GitHub Stars 达 0, 最近一次更新时间为 2022 年 09 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 aimedev/elephaime 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 aimedev/elephaime 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 53
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-03