承接 zjango/phtml 相关项目开发

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

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

zjango/phtml

最新稳定版本:1.1.1

Composer 安装命令:

composer require zjango/phtml

包简介

simple_html_dom PHP Parser for Laravel

README 文档

README

========

Installation

To install the package, simply add the following to your Laravel installation's composer.json file

"require": {
	"laravel/framework": "5.*",
	"zjango/phtml": "dev-master"  
},

Run the usual composer update to pull the files. Then, add the following Service Provider to your providers array in your config/app.php config.

'providers' => array(
	...
	'Zjango\Phtml\PhtmlServiceProvider',
);

And finally add a new line to the aliases array:

		'Phtml'	=>	'Zjango\Phtml\Facades\Phtml',

Usage

		$html=Phtml::init('http://www.apple.com');
		$as = $html->find('a');
		$a = $html->find('a',0);
		$a = $html->find('a',-1);
		$a = $html->find('a',0);
		$href = $a->href();
		$text = $a->text();

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-04-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固