承接 tacone/datasource 相关项目开发

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

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

tacone/datasource

最新稳定版本:0.1

Composer 安装命令:

composer require tacone/datasource

包简介

Wrapper for arrays, pojos and Eloquent

README 文档

README

Build Status Coverage Status Scrutinizer Code Quality

A generic, wrapper object to easily access arrays, plain objects, laravel models using the dotted syntax.

For eloquent models, accessing and saving of related models is supported, even though not all the relationship kinds are there yet.

$source = new DataSource(new Customer());
$source['name'] = 'Frank';
$source['surname'] = 'Sinatra';
$source['details.email'] = 'frank@example.com';
$source['details.twitter'] = '@therealfrankie';

$source->save();

Requirements

  • PHP 5.5.0
  • Laravel 4.2 or greater.

Laravel is not required if you only need to manipulate POJOs and arrays.

Testing

To test this package you need to install it under a working Laravel installation. Then cd in the package folder and run php unit.

If you just want to develop this package and want to set up an ad hoc installation of Laravel, you can use script/test-with-laravel.php.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-10-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固