{"id":25471493,"url":"https://github.com/zhouyl/mellivora-framework","last_synced_at":"2025-11-05T04:30:28.213Z","repository":{"id":62526973,"uuid":"103095699","full_name":"zhouyl/mellivora-framework","owner":"zhouyl","description":"Web Framework for Mellivora","archived":false,"fork":false,"pushed_at":"2017-10-18T06:34:43.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-08T19:33:54.456Z","etag":null,"topics":["framework","framework-php","mellivora","slim3","web-framework"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zhouyl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-11T06:00:17.000Z","updated_at":"2018-10-17T06:22:07.000Z","dependencies_parsed_at":"2022-11-02T14:02:37.629Z","dependency_job_id":null,"html_url":"https://github.com/zhouyl/mellivora-framework","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhouyl%2Fmellivora-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhouyl%2Fmellivora-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhouyl%2Fmellivora-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhouyl%2Fmellivora-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhouyl","download_url":"https://codeload.github.com/zhouyl/mellivora-framework/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239449563,"owners_count":19640534,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["framework","framework-php","mellivora","slim3","web-framework"],"created_at":"2025-02-18T09:47:23.414Z","updated_at":"2025-11-05T04:30:28.155Z","avatar_url":"https://github.com/zhouyl.png","language":"PHP","readme":"# 项目说明\n\n## 项目初始化\n\n该项目使用了 Mellivora 框架 ，其基础为 Slim3，结合了 laravel 5.4 + Symfony 3.3 的部分组件及特性，自主开发完成。\n\n该项目的最低运行环境为 php5.6，建议使用 php7.1+ 版本以获得更好的性能。\n\n### 获取代码\n``` bash\ncd /workspace\ngit clone git@github.com:zhouyl/mellivora-framework.git my.host.com\ncd my.host.com\ncomposer install\nbash bin/app-init.sh\n```\n\n### 配置 nginx\n\n```\nserver {\n    listen       80;\n\n    server_name  my.host.com;\n    root         /workspace/my.host.com/public;\n    charset      utf-8;\n    index        index.php index.html index.htm;\n\n    location / {\n        try_files $uri $uri/ /index.php$is_args$args;\n    }\n\n    location ~ \\.php$ {\n        try_files $uri =404;\n        fastcgi_pass   unix:/dev/shm/php7.1.sock;\n        fastcgi_index  index.php;\n        include        fastcgi_params;\n        fastcgi_split_path_info ^(.+\\.php)(/.+)$;\n        fastcgi_param  PATH_INFO $fastcgi_path_info;\n        fastcgi_param  PATH_TRANSLATED $document_root$fastcgi_path_info;\n    }\n\n    location ~ \\.(gif|jpg|jpeg|png|bmp|swf|ico|js|css)$ {\n        expires      30d;\n        access_log   off;\n    }\n\n    location ~ /\\.ht {\n        deny all;\n    }\n\n    access_log  /var/log/nginx/my.host.com.log  main;\n}\n\n```\n\n### 目录结构\n\n```\n.\n├── claw                   Claw 命令行工具\n├── app\n│   ├── Commands           命令行脚本\n│   ├── Controllers        MVC 控制器\n│   ├── Middlewares        自定义项目中间件\n│   ├── Models             数据库模型类\n│   └── Providers          自定义项目服务提供者\n├── bin\n│   ├── app-init.sh        项目初始化脚本\n│   └── daemon-service.sh  守护进程管理脚本\n├── config\n│   ├── production         生产环境配置\n│   └── testing            测试环境配置\n├── database\n│   ├── migrations         数据库迁移脚本\n│   └── seeds              数据库填充脚本\n├── docs                   文档目录\n├── public                 Web 根目录\n├── resources\n│   ├── lang               语言包\n│   └── views              项目视图文件\n├── storage\n│   ├── cache              文件缓存\n│   ├── logs               日志文件\n│   ├── sessions           文件 session\n│   └── views              Blade 视图编译缓存\n└── vendor                 Composer 第三方库\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhouyl%2Fmellivora-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhouyl%2Fmellivora-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhouyl%2Fmellivora-framework/lists"}