PHPackages                             kubomikita/smartemailing-pid - 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. kubomikita/smartemailing-pid

ActiveProject

kubomikita/smartemailing-pid
============================

Smartemailing.cz HR task.

1.1(2y ago)05MITPHPPHP &gt;= 8.1

Since Nov 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/kubomikita/smartemailing-pid)[ Packagist](https://packagist.org/packages/kubomikita/smartemailing-pid)[ RSS](/packages/kubomikita-smartemailing-pid/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (16)Versions (3)Used By (0)

### Smartemailing PID API

[](#smartemailing-pid-api)

Table Of Contents
-----------------

[](#table-of-contents)

- [Built With](#built-with)
- [Getting Started](#getting-started)
    - [Installation](#installation)
- [Usage](#usage)

Built With
----------

[](#built-with)

Nette framework v3.2, PHP &gt;= 8.1, MariaDB 10.6

Getting Started
---------------

[](#getting-started)

To get a local copy up and running follow these simple example steps.

### Installation

[](#installation)

This is an example of how to list things you need to use the software and how to install them using composer.

```
composer create-project --ignore-platform-reqs kubomikita/smartemailing-pid /path-to-your-project-directory
```

**Create database** from .sql file stored in:

```
/path-to-your-project-directory/database/create.sql

```

**Setup credentials** to connect to database in:

```
/path-to-your-project-directory/config/local.neon

```

Run app in your prefered browser.

Usage
-----

[](#usage)

First sync data with Open data PID with PHP-CLI

```
php /path-to-your-project-directory/www/index.php Cron:SyncPid
```

API endpoint for list all PID points

`GET http://localhost/path-to-your-project-directory/www/`

API endpoint for list all opened PID points

`GET http://localhost/path-to-your-project-directory/www/?isOpen=1`

API endpoint for list all opened PID points in specific date and time

`GET http://localhost/path-to-your-project-directory/www/?isOpen=1&dateTime=2023-11-17T15:40`

Query parameter **dateTime** can be integer representing UNIX TIMESTAMP

If given **dateTime is not valid**, endpoint uses **actual date and time**.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

2

Last Release

907d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f33189966ad3fe087ae5d1734aa00a079fcfcb5a17ecbc1f8780676d488e9b8e?d=identicon)[larryx](/maintainers/larryx)

---

Top Contributors

[![kubomikita](https://avatars.githubusercontent.com/u/6673118?v=4)](https://github.com/kubomikita "kubomikita (7 commits)")

---

Tags

nettepidsmartemailing

### Embed Badge

![Health badge](/badges/kubomikita-smartemailing-pid/health.svg)

```
[![Health](https://phpackages.com/badges/kubomikita-smartemailing-pid/health.svg)](https://phpackages.com/packages/kubomikita-smartemailing-pid)
```

###  Alternatives

[nette/nette

👪 Nette Framework - innovative framework for fast and easy development of secured web applications in PHP (metapackage)

1.6k2.8M335](/packages/nette-nette)[nette/web-project

Nette: Standard Web Project

10991.8k](/packages/nette-web-project)

PHPackages © 2026

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