Download the PHP package ledc/phinx without Composer

On this page you can find all versions of the php package ledc/phinx. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package phinx

Migration数据库迁移工具 Phinx

安装

composer require ledc/phinx

Phinx 可以让开发者简洁的修改和维护数据库。 它避免了人为的手写 SQL 语句,它使用强大的 PHP API 去管理数据库迁移。开发者可以使用版本控制管理他们的数据库迁移。 Phinx 可以方便的进行不同数据库之间数据迁移。还可以追踪到哪些迁移脚本被执行,开发者可以不再担心数据库的状态从而更加关注如何编写出更好的系统。

官方中文文档地址

https://tsy12321.gitbooks.io/phinx-doc/content/

使用建议

迁移文件一旦代码合并后不允许再次修改,出现问题必须新建修改或者删除操作文件进行处理。

命令

创建数据表操作文件命名规则

{time(auto create)}create{表名英文小写}

修改数据表操作文件命名规则

{time(auto create)}modify{表名英文小写+具体修改项英文小写} {time(auto create)}update{表名英文小写+具体修改项英文小写}

删除数据表操作文件命名规则

{time(auto create)}delete{表名英文小写+具体修改项英文小写}

填充数据文件命名规则

{time(auto create)}fill{表名英文小写+具体修改项英文小写}

捐赠


All versions of phinx with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
workerman/webman-framework Version >=1.5.0
monolog/monolog Version >=2.9
vlucas/phpdotenv Version >=5.0
robmorgan/phinx Version >=0.16.5
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ledc/phinx contains the following files

Loading the files please wait ....