PHPackages                             elcheco/nette-phinx-bridge - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. elcheco/nette-phinx-bridge

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

elcheco/nette-phinx-bridge
==========================

Extension integrating Phinx commands to contributte/console in Nette Framework using the framework's config file.

v0.3.2(5y ago)12.2k↓50%1[1 issues](https://github.com/elcheco/nette-phinx-bridge/issues)BSD-3-ClausePHPPHP &gt;=7.4

Since Sep 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/elcheco/nette-phinx-bridge)[ Packagist](https://packagist.org/packages/elcheco/nette-phinx-bridge)[ RSS](/packages/elcheco-nette-phinx-bridge/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (8)Used By (0)

Phinx integration into Nette Framework
--------------------------------------

[](#phinx-integration-into-nette-framework)

[![Downloads this Month](https://camo.githubusercontent.com/1c572bb3ee72493fc9700b6ca244cfa95e5db8ff9f83b511659f7b9d6bbf2b24/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f656c636865636f2f6e657474652d7068696e782d6272696467652e737667)](https://packagist.org/packages/elcheco/nette-phinx-bridge)[![License](https://camo.githubusercontent.com/fa7d5fcf2c84b580327af52da95dd751703af65f079dc3c5a0081beac0789718/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4e65772532304253442d626c75652e737667)](https://github.com/elcheco/nette-phinx-bridge/blob/master/license)

Extension integrating Phinx commands to contributte/console in Nette Framework using the framework's config file.

Note: Inspired by (), but updated to latest libraries versions of Nette DI, Phinx and Contribute Console as the author does not communicate.

Requirements
------------

[](#requirements)

- [Nette/DI](https://github.com/nette/di)
- [contributte/console](https://github.com/contributte/console)
- [robmorgan/phinx](https://github.com/cakephp/phinx)

Install
-------

[](#install)

1. `composer require elcheco/nette-phinx-bridge`
2. Register DI extension

```
extensions:
    phinx: ElCheco\Phinx\Extension
```

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

[](#configuration)

```
phinx:
    paths: # directories must exist
        migrations: "./db/migrations"
        seeds: "./db/seeds"
    environments:
        default_migration_table: migrations
        development:
            adapter: mysql
            host: 'localhost'
            name: db_name
            user: root
            pass: '123456'
            port: 3306
            charset: utf8
    version_order: creation
```

Usage
-----

[](#usage)

```
{CONSOLE} phinx:breakpoint
{CONSOLE} phinx:create
{CONSOLE} phinx:migrate
{CONSOLE} phinx:rollback
{CONSOLE} phinx:seed:create
{CONSOLE} phinx:seed:run
{CONSOLE} phinx:status

```

Example
-------

[](#example)

In my case I have console on path `bin\console`:

```
bin\console phinx:create AddNewTable
```

prints the output:

```
> using migration paths
>  - /Users/elcheco/www/project_dir/db/migrations
> using migration base class Phinx\Migration\AbstractMigration
> using default template
> created db/migrations/20180928135219_add_new_table.php
```

or for the seeds:

```
bin\console phinx:seed-create FillNewTable
```

it prints:

```
> using migration paths
>  - /Users/elcheco/www/project_dir/db/migrations
> using seed paths
>  - /Users/elcheco/www/project_dir/db/seeds
> using seed base class Phinx\Seed\AbstractSeed
> created ./db/seeds/FillNewTable.php
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.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 ~135 days

Total

7

Last Release

1976d ago

PHP version history (3 changes)v0.2PHP &gt;=7.3

v0.2.1PHP &gt;=7.2

v0.3.1PHP &gt;=7.4

### Community

Maintainers

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

---

Top Contributors

[![elcheco](https://avatars.githubusercontent.com/u/1447985?v=4)](https://github.com/elcheco "elcheco (13 commits)")[![feropeterko](https://avatars.githubusercontent.com/u/165651?v=4)](https://github.com/feropeterko "feropeterko (1 commits)")

### Embed Badge

![Health badge](/badges/elcheco-nette-phinx-bridge/health.svg)

```
[![Health](https://phpackages.com/badges/elcheco-nette-phinx-bridge/health.svg)](https://phpackages.com/packages/elcheco-nette-phinx-bridge)
```

###  Alternatives

[deployer/deployer

Deployment Tool

11.0k25.4M207](/packages/deployer-deployer)[appwrite/server-ce

End to end backend server for frontend and mobile apps.

55.3k84.2k](/packages/appwrite-server-ce)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[heroku/heroku-buildpack-php

Toolkit for starting a PHP application locally, with or without foreman, using the same config for PHP and Apache2/Nginx as on Heroku

8161.3M10](/packages/heroku-heroku-buildpack-php)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4674.7k](/packages/tiamo-phpas2)

PHPackages © 2026

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