PHPackages                             luxifer/leboncoin-cli - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. luxifer/leboncoin-cli

AbandonedArchivedLibrary[CLI &amp; Console](/categories/cli)

luxifer/leboncoin-cli
=====================

Command line interface to get fetch and be notified for leboncoin bids

0.0.4(11y ago)261MITPHP

Since Jun 5Pushed 11y ago2 watchersCompare

[ Source](https://github.com/luxifer/leboncoin-cli)[ Packagist](https://packagist.org/packages/luxifer/leboncoin-cli)[ RSS](/packages/luxifer-leboncoin-cli/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (4)Dependencies (12)Versions (5)Used By (0)

Leboncoin CLI
=============

[](#leboncoin-cli)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/cc1cf374e354f34291b17f16fd208e1eb539e3d82b42f445c57f44b66b4f3e0a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c7578696665722f6c65626f6e636f696e2d636c692f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/luxifer/leboncoin-cli/?branch=master)

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
--------

[](#features)

- Query Leboncoin based on a yaml config
- Notify by mail the fetched bids

Setup
-----

[](#setup)

- Download the latest stable build from release
- Extract it somewhere

```
cd leboncoin-cli-
cp config/database.yml.dist config/database.yml
cp config/mailer.yml.dist config/mailer.yml
cp config/leboncoin.yml.dist config/leboncoin.yml
bin/console setup

```

Configuration
-------------

[](#configuration)

### Database

[](#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

[](#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

[](#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
--------

[](#commands)

### Fetch bids

[](#fetch-bids)

```
bin/leboncoin-cli fetch

```

### Notify bids

[](#notify-bids)

```
bin/leboncoin-cli notify

```

### Help

[](#help)

```
bin/leboncoin-cli help

```

Cron
----

[](#cron)

Setup a cron task with the following command:

```
/path/to/installation/bin/leboncoin-cli notify -q

```

TODO
----

[](#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

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

4

Last Release

4350d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4931ea4655336159e2680f82e8fe58db101b9e1908144350f6b23f068f177d48?d=identicon)[luxifer](/maintainers/luxifer)

---

Top Contributors

[![luxifer](https://avatars.githubusercontent.com/u/419078?v=4)](https://github.com/luxifer "luxifer (47 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

---

Tags

cliemailalertleboncoin

### Embed Badge

![Health badge](/badges/luxifer-leboncoin-cli/health.svg)

```
[![Health](https://phpackages.com/badges/luxifer-leboncoin-cli/health.svg)](https://phpackages.com/packages/luxifer-leboncoin-cli)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M646](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
