Source stores: trendyol.com
, n11.com
, defacto.com.tr
, gittigidiyor.com
Example usage
clone git repo by using following command:
git clone https://github.com/softisoDev/price-parser.git
change directory to "price-parser" by using cd price-parser
command
run this command: composer update
To use library you have to following load 'vendor/autoload.php' file:
require_once 'vendor/autoload.php';
- Parse price by url: see
example/url.php
file - Parse price by static html content: see
example/html.php
file
This project use https://github.com/pestphp/pest package for unit testing
To run rest write following command in project directory vendor\bin\pest