PHPackages                             joelwalls/picoyplaca - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. joelwalls/picoyplaca

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

joelwalls/picoyplaca
====================

This simple package predicts if a given license place can be on the road at a certain date and time based on Quito restrictions.

v1.0.2(6y ago)016MITPHPPHP &gt;=7.3CI failing

Since Apr 22Pushed 6y ago1 watchersCompare

[ Source](https://github.com/joelwalls/picoyplaca)[ Packagist](https://packagist.org/packages/joelwalls/picoyplaca)[ Docs](https://github.com/joelwalls/picoyplaca)[ RSS](/packages/joelwalls-picoyplaca/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Pico y Placa Predictor
======================

[](#pico-y-placa-predictor)

[![Latest Version](https://camo.githubusercontent.com/2fe5afe97d7802727a09bfcca81df108e147f05cc7b4410d456baca343238013/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6a6f656c77616c6c732f7069636f79706c6163612e7376673f7374796c653d666c61742d737175617265)](https://github.com/joelwalls/picoyplaca/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/49aafa586b440a13fa7f712105cf787c314c03d54ee37dc15e93800c4a382327/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6a6f656c77616c6c732f7069636f79706c6163612f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/joelwalls/picoyplaca)[![Total Downloads](https://camo.githubusercontent.com/ef34f5102ddccaa9f45859a591bdb295f12d5d3c148baa506220e7f4c80939c8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6f656c77616c6c732f7069636f79706c6163612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/joelwalls/picoyplaca)

This small package offers a simple class to predict if a certain license plate could be on the road based on the timing restrictions of Quitos's transit regulations. Framework agnostic.

Install
-------

[](#install)

Via Composer

```
$ composer require joelwalls/picoyplaca
```

Usage
-----

[](#usage)

Simple usage of the class

```
require_once "vendor/autoload.php";

$predictor = new JoelWalls\PicoYPlaca\Predictor($license_plate, $date, $time);

if ($predictor->canDrive()) {
    echo "Car can be on the road";
} else {
    echo "Car cannnot be on the road";
}
```

The package supports a DateTime instance as second parameter.

```
require_once "vendor/autoload.php";

use JoelWalls\PicoYPlaca\Predictor;

$predictor = new Predictor($license_plate, new \DateTime);

if ($predictor->canDrive()) {
    echo "Car can be on the road";
} else {
    echo "Car cannnot be on the road";
}
```

If needed, you could also especify the timezone of the Predictor object in case the server works with a different TimeZone.

```
require_once "vendor/autoload.php";

use JoelWalls\PicoYPlaca\Predictor;

$predictor = new Predictor($license_plate, new \DateTime);
$predictor->setTimeZone('America/Guayaquil');

if ($predictor->canDrive()) {
    echo "Car can be on the road";
} else {
    echo "Car cannnot be on the road";
}
```

Note: The setTimeZone() method is recommended to use when the Predictor is initialized when a DateTime object as current time.

Testing
-------

[](#testing)

```
$ phpunit
```

Credits
-------

[](#credits)

- [Joel Paredes](https://github.com/joelwalls)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

3

Last Release

2263d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18745672?v=4)[Joel Paredes](/maintainers/joelwalls)[@joelwalls](https://github.com/joelwalls)

---

Top Contributors

[![joelwalls](https://avatars.githubusercontent.com/u/18745672?v=4)](https://github.com/joelwalls "joelwalls (9 commits)")

---

Tags

ecuadorplacapicopico y placaquito

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/joelwalls-picoyplaca/health.svg)

```
[![Health](https://phpackages.com/badges/joelwalls-picoyplaca/health.svg)](https://phpackages.com/packages/joelwalls-picoyplaca)
```

PHPackages © 2026

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