PHPackages                             xsuchy09/neon2db - 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. [Database &amp; ORM](/categories/database)
4. /
5. xsuchy09/neon2db

ActiveLibrary[Database &amp; ORM](/categories/database)

xsuchy09/neon2db
================

Library to save data from neon file into the database.

v1.0.0(5y ago)114proprietaryPHPPHP &gt;= 7.4

Since Jun 26Pushed 5y ago1 watchersCompare

[ Source](https://github.com/xsuchy09/neon2db)[ Packagist](https://packagist.org/packages/xsuchy09/neon2db)[ RSS](/packages/xsuchy09-neon2db/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

neon2db
=======

[](#neon2db)

Library to save data from neon file to the database and back to the neon file. It can be helpful for managing translates in the database for [Kdyby/Translation](https://github.com/Kdyby/Translation).

Install
-------

[](#install)

```
composer require xsuchy09/neon2db

```

Usage
-----

[](#usage)

```
$connection = new \Nette\Database\Connection('dsn', 'user', 'password');
$configuration = new \xsuchy09\Neon2Db\DI\Configuration();
$configuration->setTable('public.translation');

$neon2Database = new \xsuchy09\Neon2Db\Neon2Database($connection, $configuration);
// neon files should be named as name of the file dot locale dot neon - examples:
// admin.cs_CZ.neon
// base.cs_CZ.neon
// ...

// these files you have probably as default in git
$neon2Database->insertFromDir('path to the dir with neon files to import into the database');
// these files should use your app ... they should be regenerate after any update in database - use this method to re/generate them
$neon2Database->saveToNeon('path to the dir where files from database data should be exported');
```

That's all :)

Any comments and pull requests are welcome.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Unknown

Total

1

Last Release

2146d ago

### Community

Maintainers

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

---

Top Contributors

[![xsuchy09](https://avatars.githubusercontent.com/u/1107359?v=4)](https://github.com/xsuchy09 "xsuchy09 (6 commits)")

---

Tags

nettedatabasetranslationneon

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/xsuchy09-neon2db/health.svg)

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

###  Alternatives

[nette/database

💾 Nette Database: layer with a familiar PDO-like API but much more powerful. Building queries, advanced joins, drivers for MySQL, PostgreSQL, SQLite, MS SQL Server and Oracle.

5656.7M234](/packages/nette-database)[uestla/yetorm

Lightweight ORM for Nette\\Database

4936.4k](/packages/uestla-yetorm)[modul-is/orm

Lightweight hybrid ORM/Explorer

1118.1k](/packages/modul-is-orm)

PHPackages © 2026

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