Skip to content

Commit

Permalink
update dependencies + readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Adelktr committed Jul 5, 2023
1 parent 923c00b commit e2ba696
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Installation

```bash
composer install adelktr/open-source-td3
```

## Local Development

```bash
Expand All @@ -11,3 +15,21 @@ composer install
```bash
php vendor/bin/phpstan analyse src --level=max
```

## What is it ?

For the moment you can have 2 types of lists, the first is the list of all the motorcycles present on the site https://moto.suzuki.fr/, and the second is the list of all the motorcycles of the available site for bridle for The A2 license.

All bikes

```php
$allBikes = Adelktr\OpenSourceTd3\Scrap()->fetchAllBikes()
```

---

A2 bikes = `fetchAllA2Bikes()`

```php
$allBikes = Adelktr\OpenSourceTd3\Scrap()->fetchAllA2Bikes()
```
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"symfony/var-dumper": "^6.3"
},
"require": {
"symfony/http-client": "^6.3",
"symfony/dom-crawler": "^6.3",
"symfony/css-selector": "^6.3"
"symfony/http-client": "^6.0||^6.3",
"symfony/dom-crawler": "^6.0||^6.3",
"symfony/css-selector": "^6.0||^6.3"
},
"scripts": {
"phpstan": "@php vendor/bin/phpstan analyse src --level=max",
Expand Down

0 comments on commit e2ba696

Please sign in to comment.