承接 armagedon007/phpquery-yii2 相关项目开发

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

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

armagedon007/phpquery-yii2

最新稳定版本:v0.9.6

Composer 安装命令:

composer require armagedon007/phpquery-yii2

包简介

phpQuery is a PHP library that enables you to parse HTML and manipulate the DOM using jQuery-like syntax. This repository aims to create a PHP 8.x ready version derived from the original code available in the [Google Code Archive](https://code.google.com/archive/p/phpquery/).

README 文档

README

phpQuery is a PHP library that enables you to parse HTML and manipulate the DOM using jQuery-like syntax. This repository aims to create a PHP 8.x ready version derived from the original code available in the Google Code Archive.

Fork https://github.com/php-query/php-query

License

This project is based on the original code released under the MIT License. See the LICENSE file for more details.

Contribution Guidelines

We welcome and appreciate contributions from the community. If you'd like to contribute, please follow these guidelines:

  • Fork the repository
  • Create a new branch for your feature or bug fix
  • Commit your changes and push your branch to your fork
  • Open a pull request with a clear description of your changes

We appreciate bug reports, feature requests, and any other form of contribution. Your help makes this project better for everyone.

Installation

To use phpQuery in your project, you can install it via Composer:

composer require aramgedon007/phpquery-yii2

Usage

Here's a simple example of how you can use phpQuery in your PHP code:

use phpQuery;

// Create a new phpQuery object
$html = '<div><p>Hello, <span>world!</span></p></div>';
$doc = phpQuery::newDocument($html);

// Manipulate the DOM using jQuery-like syntax
$text = $doc['div p span']->text(); // Retrieve the text content
echo $text; // Output: world!

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-01-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固