robmorgan/phinx
Phinx makes it ridiculously easy to manage the database migrations for your PHP app.
0.16.12
50M downloads/mo
#709 most downloaded on Packagist
cakephp/phinx
What this package is like to depend on
Last release 1 months ago
03 Jul 2026
Release timing varies
gaps range from 2 weeks to 8 months
Rarely documented
notes for 10 of 107 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
107 releases · first in 2012
2 releases in the last 12 months
see the full history below
Release timeline
107 releases · Oct 2012 to Jul 2026Releases
latest 60 of 107-
0.16.1203 Jul 2026Release notes
Open source →Features
- Add native enum type support for postgresql by @ErfanMomeniii in #2412
Bug Fixes
- fix: MariaDB 12 uses numeric foreign keys by default by @joshbmarshall in #2413
- Fix SQL injection in hasDatabase() by quoting database name in adapters by @markstory in #2418
New Contributors
- @ErfanMomeniii made their first contribution in #2412
Full Changelog: 0.16.11...0.16.12
-
0.16.1115 Mar 2026Release notes
Open source →Features
- Add "nativeuuid" type for databases with native uuid support by @nicosp in #2282
- Use timestamp column type for phinxlog if addTimestampsUseDateTime flag disabled by @qnnp-me in #2401
- Add algorithm/lock Support for alter columns in mysql by @lutdev in #2399
Fixes
- Rework sqlite fk pragma handling by @MasterOdin in #2365
- Fix Decimal Column Definition Issue When Scale is 0 by @runphp in #2377
- Fix cache key for phar workflow by @MasterOdin in #2382
- Improve precision and scale behavior across adapters by @MasterOdin in #2383
- Improve quote behavior of CURRENT_TIMESTAMP default by @MasterOdin in #2389
- Fix php85 mysql attr constant by @schlndh in #2405
Documentation
- Add phpdoc for options array for addColumn and changeColumn by @joshbmarshall in #2394
Miscellaneous
- Make configuration a top-level option by @MasterOdin in #2375
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #2372
- Add test for mysql zero scale column def fix by @MasterOdin in #2378
- Update set output usage in GH workflows by @MasterOdin in #2379
- Update upload asset step for phar workflow by @MasterOdin in #2380
- Update phpunit to ^10.5 by @MasterOdin in #2381
- Bump phpstan to 1.12.x by @MasterOdin in #2363
- Fix deprecations in phpstan config by @MasterOdin in #2387
- Bump actions/checkout from 5 to 6 by @dependabot[bot] in #2392
- Update symfony/yaml requirement from ^4.0|^5.0|^6.0|^7.0 to ^4.0|^5.0|^6.0|^7.0|^8.0 by @dependabot[bot] in #2397
- Update symfony/config requirement from ^4.0|^5.0|^6.0|^7.0 to ^4.0|^5.0|^6.0|^7.0|^8.0 by @dependabot[bot] in #2398
- Update symfony/console requirement from ^6.0|^7.0 to ^6.0|^7.0|^8.0 by @dependabot[bot] in #2396
- Bump actions/cache from 4 to 5 by @dependabot[bot] in #2403
New Contributors
- @runphp made their first contribution in #2377
- @nicosp made their first contribution in #2282
- @qnnp-me made their first contribution in #2401
- @schlndh made their first contribution in #2405
- @lutdev made their first contribution in #2399
Full Changelog: 0.16.10...0.16.11
-
0.16.1008 Jul 2025Release notes
Open source →Features
- Add count option to migrate by @MasterOdin in #2360
Fixes
Documentation
- Fix typo on configuration docs by @MasterOdin in #2367
New Contributors
Full Changelog: 0.16.9...0.16.10
-
0.16.925 May 2025Release notes
Open source →Fixes
- Fix --dry-run option when values to insert are booleans by @JulienChavee in #2358
- Fix using Cake\I18n\Date and DateTime in insert dry-run by @MasterOdin in #2359
Documentation
- Fix build status README badge by @MasterOdin in #2356
Full Changelog: 0.16.8...0.16.9
-
0.16.804 May 2025Release notes
Open source →Fixes
- Fix performance degradation for bulk inserts by @MasterOdin in #2354
Maintenance
- Drop symfony 3.4 support by @dereuromark in #2352
Full Changelog: 0.16.7...0.16.8
-
0.16.717 Apr 2025Release notes
Open source →Features
- Support Cake\I18n\Date and DateTime for inserts by @dereuromark in #2348
Fixes
Documentation
New Contributors
Full Changelog: 0.16.6...0.16.7
-
0.16.620 Dec 2024Release notes
Open source →Improvements
- Add deferrable constraints management for PSQL by @JulienChavee in #2322
- Write CLI errors to stderr by @InvisibleSmiley in #2317
- Error on using reserved keyword for migration name by @MasterOdin in #2328
Bug Fixes
- Improve collision handling on multiple create calls by @MasterOdin in #2325
- Fix type with space between limit and precision in SQLiteAdapter by @MasterOdin in #2329
- Fix SQLiteAdapter::getColumns with Literal column by @MasterOdin in #2331
Deprecations
- Add deprecation warning for Util::mapClassNameToFileName by @MasterOdin in #2327
Documentation
- Document specific query builder functions by @MarwanSalim in #2318
- Add docs about namespaces for paths by @matheusab in #2314
- Remove ZH link for docs by @MasterOdin in #2333
- Docs: Set PDO attributes after variable has been assigned by @piotr-cz in #2334
- Docs: Set config name to
:memory:in docs example by @piotr-cz in #2335 - Docs: Use
requirewithout brackets by @piotr-cz in #2337
Miscellaneous
- Bump codecov/codecov-action from 4 to 5 by @dependabot in #2320
- Run CI against PHP 8.4 by @MasterOdin in #2321
- Add SQLiteAdapter::isMemory helper function by @MasterOdin in #2336
New Contributors
- @matheusab made their first contribution in #2314
- @JulienChavee made their first contribution in #2322
Full Changelog: 0.16.5...0.16.6
-
0.16.503 Oct 2024Release notes
Open source →Bug Fixes
- Fix using schema option with connection option by @MasterOdin in #2316
Full Changelog: 0.16.4...0.16.5
-
0.16.425 Sep 2024Release notes
Open source →Bug Fixes
- fix warning in info when using connection config by @MasterOdin in #2312
Miscellaneous
- Use token for codecov GH action by @MasterOdin in #2310
Full Changelog: 0.16.3...0.16.4
-
0.16.307 Sep 2024Release notes
Open source →Features
- Add dry-run option to seed:run by @MasterOdin in #2299
- Support Literal values in inserts by @MasterOdin in #2301
Bug Fixes
- Fix setting sqlsrv PK name with qualified table name by @MichaelDesignamite in #2306
- Append sqlite suffix to name on info output by @MasterOdin in #2307
Documentation
- Fix README badges by @MasterOdin in #2296
- Update migrations.rst by @MarwanSalim in #2303
Misc
- Consolidate insert/bulkInsert implementations by @MasterOdin in #2300
- DRY info output for console commands by @MasterOdin in #2302
- Fix phpcs error in PDOAdapter by @MasterOdin in #2308
- Move schema to class property for PostgresAdapter by @MasterOdin in #2309
Note: ThePostgresAdapter::getGlobalSchemaNameprotected function has been removed. Use thePostgresAdapter::$schemaclass member variable instead.
New Contributors
- @MarwanSalim made their first contribution in #2303
- @MichaelDesignamite made their first contribution in #2306
Full Changelog: 0.16.2...0.16.3
-
0.16.217 Jul 2024Nothing published for this version
-
0.16.103 Jun 2024Nothing published for this version
-
0.16.024 Jan 2024Nothing published for this version
-
0.15.505 Dec 2023Nothing published for this version
-
0.15.415 Nov 2023Nothing published for this version
-
0.15.309 Nov 2023Nothing published for this version
-
0.15.222 Sep 2023Nothing published for this version
-
0.15.120 Sep 2023Nothing published for this version
-
0.15.019 Sep 2023Nothing published for this version
-
0.14.007 Sep 2023Nothing published for this version
-
0.13.407 Jan 2023Nothing published for this version
-
0.13.301 Dec 2022Nothing published for this version
-
0.13.225 Nov 2022Nothing published for this version
-
0.13.109 Oct 2022Nothing published for this version
-
0.13.003 Oct 2022Nothing published for this version
-
0.12.1303 Oct 2022Nothing published for this version
-
0.12.1209 Jul 2022Nothing published for this version
-
0.12.1103 Jul 2022Nothing published for this version
-
0.12.1021 Jan 2022Nothing published for this version
-
0.12.912 Oct 2021Nothing published for this version
-
0.12.828 Jul 2021Nothing published for this version
-
0.12.716 Apr 2021Nothing published for this version
-
0.12.623 Feb 2021Nothing published for this version
-
0.12.518 Jan 2021Nothing published for this version
-
0.12.415 Aug 2020Nothing published for this version
-
0.12.325 Jun 2020Nothing published for this version
-
0.12.223 Jun 2020Nothing published for this version
-
0.12.111 Apr 2020Nothing published for this version
-
0.12.009 Apr 2020Nothing published for this version
-
0.11.709 May 2020Nothing published for this version
-
0.11.606 Apr 2020Nothing published for this version
-
0.11.530 Mar 2020Nothing published for this version
-
0.11.424 Dec 2019Nothing published for this version
-
0.11.312 Dec 2019Nothing published for this version
-
0.11.128 Aug 2019Nothing published for this version
-
0.10.808 Jul 2019Nothing published for this version
-
0.10.725 Apr 2019Nothing published for this version
-
0.10.612 Aug 2018Nothing published for this version
-
0.10.512 Jul 2018Nothing published for this version
-
0.10.322 Jun 2018Nothing published for this version
-
0.10.219 Jun 2018Nothing published for this version
-
0.10.117 Jun 2018Nothing published for this version
-
0.10.008 Jun 2018Nothing published for this version
-
0.9.223 Dec 2017Nothing published for this version
-
v0.9.109 Sep 2017Nothing published for this version
-
v0.9.003 Sep 2017Nothing published for this version
-
v0.8.105 Jun 2017Nothing published for this version
-
v0.8.028 Feb 2017Nothing published for this version
-
v0.7.228 Feb 2017Nothing published for this version
-
v0.7.119 Feb 2017Nothing published for this version