2017 © Pedro Peláez
 

library php-xql

database like retriver on XML/HTML by XPATH for PHP 5.3+

image

abby-libs/php-xql

database like retriver on XML/HTML by XPATH for PHP 5.3+

  • Monday, March 7, 2016
  • by abbychau
  • Repository
  • 1 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

phpXQL

Inspired by RealDB functions, a database like xpath HTML/XML retriver, (*1)

Usage:, (*2)

  $objXQL = new abbyLibs\phpXQL($url);
  $path = '//*[@id="DivContentLeft"]/div[3]/div[2]/div[3]/div[1]/table/tr[?]/td[?]';
  $arr = $objXQL->arr($path,[0,4],[0,4]);
  print_r($arr);

  $path = '//*[@id="DivContentLeft"]/div[3]/div[2]/div[3]/div[1]/table/tr[2]/td[?]';
  $arr = $objXQL->row($path,[0,4]);
  print_r($arr);

  $path = '//*[@id="DivContentLeft"]/div[3]/div[2]/div[3]/div[1]/table/tr[2]/td[3]';
  $string = $objXQL->row($path);
  echo $string;

Packgist: https://packagist.org/packages/abby-libs/php-xql, (*3)

Composer: composer require abby-libs/php-xql, (*4)

Apache2.0 license. Welcome to fork and use at any cause. I would be happy to hear from any words!, (*5)

The Versions

07/03 2016

dev-master

9999999-dev https://github.com/abbychau/phpXQL

database like retriver on XML/HTML by XPATH for PHP 5.3+

  Sources   Download

Apache 2.0

The Requires

  • php >=5.3.0

 

dom xpath

07/03 2016

0.2

0.2.0.0 https://github.com/abbychau/phpXQL

database like retriver on XML/HTML by XPATH for PHP 5.3+

  Sources   Download

Apache 2.0

The Requires

  • php >=5.3.0

 

dom xpath

07/03 2016

0.1

0.1.0.0 https://github.com/abbychau/phpXQL

database like retriver on XML/HTML by XPATH for PHP 5.3+

  Sources   Download

Apache 2.0

The Requires

  • php >=5.3.0

 

dom xpath