Download the PHP package ke/thinkphp-beautiful-migrate without Composer

On this page you can find all versions of the php package ke/thinkphp-beautiful-migrate. 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 thinkphp-beautiful-migrate

thinkphp-beautiful-migrate

一个易使用、漂亮的数据库迁移代码构建器

安装

使用

可用的字段定义方法

命令 描述
$blueprint->id(); 定义一个bigint 并命名为id的主键
$blueprint->bigInteger('votes'); 相当于 BIGINT
$blueprint->binary('data'); 相当于 BLOB
$blueprint->boolean('confirmed'); 相当于 BOOLEAN
$blueprint->char('name', 100); 相当于带有长度的 CHAR
$blueprint->date('created_at'); 相当于 DATE
$blueprint->dateTime('created_at'); 相当于 DATETIME
$blueprint->decimal('amount', 8, 2); 相当于带有精度与基数 DECIMAL
$blueprint->enum('level', ['easy', 'hard']); 相当于 ENUM
$blueprint->geometry('positions'); 相当于 GEOMETRY
$blueprint->integer('votes'); 相当于 INTEGER
$blueprint->json('options'); 相当于 JSON
$blueprint->jsonb('options'); 相当于 JSONB
$blueprint->lineString('positions'); 相当于 LINESTRING
$blueprint->longText('description'); 相当于 LONGTEXT
$blueprint->mediumInteger('votes'); 相当于 MEDIUMINT
$blueprint->mediumText('description'); 相当于 MEDIUMTEXT
$blueprint->point('position'); 相当于 POINT
$blueprint->polygon('positions'); 相当于 POLYGON
$blueprint->smallInteger('votes'); 相当于 SMALLINT
$blueprint->softDeletes(); 相当于为软删除添加一个可空的 delete_time 字段
$blueprint->string('name', 100); 相当于带长度的 VARCHAR
$blueprint->text('description'); 相当于 TEXT
$blueprint->time('sunrise'); 相当于 TIME
$blueprint->timestamp('added_on'); 相当于 TIMESTAMP
$blueprint->timestamps(); 相当于可空的 create_time 和 update_time TIMESTAMP
$blueprint->tinyInteger('votes'); 相当于 TINYINT
$blueprint->unsignedBigInteger('votes'); 相当于 Unsigned BIGINT
$blueprint->unsignedDecimal('amount', 8, 2); 相当于带有精度和基数的 UNSIGNED DECIMAL
$blueprint->unsignedInteger('votes'); 相当于 Unsigned INT
$blueprint->unsignedMediumInteger('votes'); 相当于 Unsigned MEDIUMINT
$blueprint->unsignedSmallInteger('votes'); 相当于 Unsigned SMALLINT
$blueprint->unsignedTinyInteger('votes'); 相当于 Unsigned TINYINT
$blueprint->uuid('id'); 相当于 UUID
$blueprint->year('birth_year'); 相当于 YEAR

查看使用示例

QQ交流群:942503490

by King east


All versions of thinkphp-beautiful-migrate with dependencies

PHP Build Version
Package Version
Requires topthink/think-migration Version ^3.0
topthink/framework Version ^6.0.0
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 ke/thinkphp-beautiful-migrate contains the following files

Loading the files please wait ....