{"id":17955747,"url":"https://github.com/limingxinleo/micro.phalcon","last_synced_at":"2025-07-21T09:04:10.405Z","repository":{"id":62517180,"uuid":"73256665","full_name":"limingxinleo/micro.phalcon","owner":"limingxinleo","description":"phalcon micro 项目","archived":false,"fork":false,"pushed_at":"2017-08-10T12:59:42.000Z","size":120,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-22T04:40:40.098Z","etag":null,"topics":["micro","phalcon","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/limingxinleo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-09T06:11:31.000Z","updated_at":"2018-09-01T02:10:45.000Z","dependencies_parsed_at":"2022-11-02T13:31:13.641Z","dependency_job_id":null,"html_url":"https://github.com/limingxinleo/micro.phalcon","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/limingxinleo/micro.phalcon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limingxinleo%2Fmicro.phalcon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limingxinleo%2Fmicro.phalcon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limingxinleo%2Fmicro.phalcon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limingxinleo%2Fmicro.phalcon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/limingxinleo","download_url":"https://codeload.github.com/limingxinleo/micro.phalcon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limingxinleo%2Fmicro.phalcon/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266270391,"owners_count":23902731,"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":["micro","phalcon","php"],"created_at":"2024-10-29T10:32:00.758Z","updated_at":"2025-07-21T09:04:10.345Z","avatar_url":"https://github.com/limingxinleo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# micro.phalcon\n[![Total Downloads](https://poser.pugx.org/limingxinleo/phalcon-project-micro/downloads)](https://packagist.org/packages/limingxinleo/phalcon-project-micro)\n[![Latest Stable Version](https://poser.pugx.org/limingxinleo/phalcon-project-micro/v/stable)](https://packagist.org/packages/limingxinleo/phalcon-project-micro)\n[![Latest Unstable Version](https://poser.pugx.org/limingxinleo/phalcon-project-micro/v/unstable)](https://packagist.org/packages/limingxinleo/phalcon-project-micro)\n[![License](https://poser.pugx.org/limingxinleo/phalcon-project-micro/license)](https://packagist.org/packages/limingxinleo/phalcon-project-micro)\n\n\n\n[Phalcon 官网](https://docs.phalconphp.com/zh/latest/index.html)\n\n## 安装方法 ##\n~~~\ngit clone --depth=1 git://github.com/phalcon/cphalcon.git\ncd cphalcon/build\nsudo ./install\n\nvim etc/php.ini \nextension=phalcon.so\n\ncomposer create-project limingxinleo/phalcon-project-micro demo\n~~~\n\n## 目录结构\n\n初始的目录结构如下：\n\n~~~\nwww  WEB部署目录（或者子目录）\n├─app                   项目文件\n│ ├─config              配置文件\n│ ├─library             第三方库目录\n│ ├─models              模型目录\n│ ├─services            自定义服务目录\n│ ├─views               视图目录\n│ └─app.php             项目应用\n├─public                资源目录\n│ ├─app                 项目资源目录\n│ ├─lib                 第三方资源目录\n│ ├─.htaccess           apache重写文件\n│ └─index.php           入口文件\n├─storage               项目写入仓库\n│ ├─cache               项目缓存目录\n│ │ ├─data              数据缓存目录\n│ │ └─view              视图缓存目录\n│ ├─log                 日志目录\n│ └─migrations          数据库迁移目录\n├─vendor                第三方类库目录（Composer依赖库）\n├─.env                  env支持配置文件\n├─composer.json         composer定义文件\n├─README.md             README文件\n├─LICENSE               授权说明文件\n~~~\n\n## 注意事项 ##\n* 使用模型进行信息存储时，因为模型元数据的问题，非空字段会匹配非空、非空字符串两个条件，致使一些空字符串字段不赋默认非空字符串值的情况下，保存失败！\n* 框架默认以文件的方式缓存元数据，一旦表结构被修改，请手动清理storage/meta文件下的元数据\n* 使用Phalcon 开发工具的时候，需要维护config/config.ini配置文件\n\n## Composer 国内镜像\n~~~\n\"repositories\": {\n        \"packagist\": {\n            \"type\": \"composer\",\n            \"url\": \"https://packagist.phpcomposer.com\"\n        }\n    }\n~~~\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimingxinleo%2Fmicro.phalcon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flimingxinleo%2Fmicro.phalcon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimingxinleo%2Fmicro.phalcon/lists"}