evaldobarbosa/charon 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

evaldobarbosa/charon

Composer 安装命令:

composer require evaldobarbosa/charon

包简介

A little ORM with a simple syntax

README 文档

README

Is a tool created to retrieve data to your project from database. This is like any other ORM.

With Charon you will:

  • Create simple classes using annotations
  • Load data with your classes
  • Use semantic filters
  • Get JSON without NoSQL

Composer:

require: {
	"evaldobarbosa/charon": "0.5.1"
}

Usage:

$conn = new PDO('your_dsn');

$dl = new Charon\Loader( $conn );

Filtering post with your tags and related author

$dl->load('YourNamespace\Post')
  ->join('tags->tag')
  ->join('author')
  ->equal('post->id',999);

Choosing output format

Using PHP Objects based on classes that you wrote

  $rs = $dl->get();

Using json

  $rs = $dl->get(true);

Example

https://github.com/evaldobarbosa/charon-example

统计信息

  • 总下载量: 112
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 7
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0
  • 更新时间: 2014-01-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固