承接 perf/source 相关项目开发

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

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

perf/source

最新稳定版本:2.0.0

Composer 安装命令:

composer require perf/source

包简介

Data source abstraction

README 文档

README

Source package allows to abstract data sources.

Installation & Requirements

Source has no dependencies on other libraries.

Install it with Composer:

{
	"require":
	{
		"perf/source"  : "~1.0"
	}
}

Usage

Local file source

<?php

$path = '/foo/bar/settings.ini';

$source = \perf\Source\LocalFileSource::create($path);

function print_content(\perf\Source\Source $source)
{
	echo $source->getContent();
}

String source

<?php

$string = 'foo = bar';

$source = \perf\Source\StringSource::create($string);

function print_content(\perf\Source\Source $source)
{
	echo $source->getContent();
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-07-01