承接 agussuroyo/eloquent-wpdb 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

agussuroyo/eloquent-wpdb

最新稳定版本:1.0.0

Composer 安装命令:

composer require agussuroyo/eloquent-wpdb

包简介

$wpdb that wrapped with Eloquent from Laravel

README 文档

README

PHP Validator

  • I made this just for personal use
  • I do not guarantee anything for the use of this software
  • Do It With Your Own Risk

Installation

Using composer

composer require agussuroyo/eloquent-wpdb

Usage

Boot it first

$db = new \Agussuroyo\EloquentWpdb\DB();
$capsule = $db->capsule();

then do manual query builder

// query builder
$con = $capsule->getConnection();
$con->table('tableName')->get();

or model based query

// model based
class ModelName extends Illuminate\Database\Eloquent\Model
{
    
}

$all = ModelName::get();
$item = ModelName::find(123);
// do another Laravel query that we want...

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-03-17