Download the PHP package luxifer/leboncoin-cli without Composer
On this page you can find all versions of the php package luxifer/leboncoin-cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package leboncoin-cli
Leboncoin CLI
Leboncoin CLI is a software to make request to Leboncoin.fr from the shell. Request are stored in a configuration file. You can have multiple request in thfis file. Every time a new bid is fetched it is stored on a database. Then you can send these bids by mail.
Features
- Query Leboncoin based on a yaml config
- Notify by mail the fetched bids
Setup
- Download the latest stable build from release
- Extract it somewhere
Configuration
Database
By default the database use Sqlite3, you need to have the php sqlite
extension loaded. You don't have to touch the configuration file as the default values works.
Mailer
The default values inside config/mailer.yml
are set to use Sendmail. You may have to adjust the path according to your operating system.
Alerts
Take a look at the config/leboncoin.yml
file to know how to configure the queries. You can have multiple queries under the criterias
node with different index name.
A new command to build this file is in the pipe.
Commands
Fetch bids
Notify bids
Help
Cron
Setup a cron task with the following command:
TODO
- Setup a proxy (port 80 closed for OVH and Online IPs) [urgent]
- Interactive configuration builder
- Initialize config and store it under the
HOME
directory
All versions of leboncoin-cli with dependencies
symfony/console Version *
symfony/config Version *
symfony/yaml Version *
pimple/pimple Version ~2.0
doctrine/dbal Version ~2.4
symfony/dom-crawler Version *
symfony/css-selector Version *
twig/twig Version *
rhumsaa/array_column Version *
symfony/validator Version *
swiftmailer/swiftmailer Version *