thewulf7 / tripadvisor
Yii component to parse data from tripadvisor
Installs: 73
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/thewulf7/tripadvisor
Requires
- php: >=5.4.0
- paquettg/php-html-parser: 1.6.8
- yiisoft/yii2: *
Requires (Dev)
- phpunit/php-invoker: >=1.1.0@stable
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2025-09-28 00:34:46 UTC
README
Installation
Begin by installing this package through Composer.
{ "require": { "thewulf7/tripadvisor": "dev-master" } }
'components' => [ ... 'tripadvisor' => [ 'class' => 'thewulf7\tripadvisor\Connection' ] ... ]
Usage
Retrieve data
$trip = \Yii::$app->get('tripadvisor'); return $trip->createCommand()->search('Moscow');
Same with QueryBuilder
$query = new \thewulf7\tripadvisor\Query(); $query ->setAction() ->addType('geo') ->setQuery('Moscow') ->setDetails(false); return $query ->createCommand() ->search();
More examples in tests forlder
Issues with existing library