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(12y ago)261MITPHP

Since Jun 5Pushed 12y 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 3w 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 41% 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

4405d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/419078?v=4)[Florent Viel](/maintainers/luxifer)[@luxifer](https://github.com/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

[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M508](/packages/pimcore-pimcore)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[sulu/sulu

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

1.3k1.4M203](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M572](/packages/shopware-core)

PHPackages © 2026

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