Download the PHP
package yuhal/laravel-sync-database without Composer
On this page you can find all versions of the php package
yuhal/laravel-sync-database. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
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.
Informations about the package laravel-sync-database
Laravel Database Migration
If you don't want to create migration files manually during the development of laravel project. It can help you Automatically create and update the migration file corresponding to the table structure in the database。 In addition, it can be used in combination with laravel sync migration to realize bidirectional synchronization of database and migrated files.
License
The MIT License (MIT). Please see License File for more information.
介绍
使用 laravel 框架的小伙伴,这将会是你的福音!推荐使用 yuhal/laravel-sync-database,可以帮助您高效开发哦,欢迎 star OR fork!如果您不想在开发laravel项目时手动创建迁移文件。它可以帮助您自动创建和更新数据库中表结构对应的迁移文件。此外,它还可以与早期同步迁移结合使用,实现数据库和迁移文件的双向同步。
安装
通过 composer 创建项目
进入 blog 目录
复制 .env.example 配置文件,命名为 .env
修改 .env
composer 设置国内镜像
composer 安装依赖包
同步
首次执行迁移
users 迁移文件新增 phone 字段
迁移文件同步数据库
users 数据库表重命名 phone 字段为 mobile
通过执行 SQL 或 数据库可视化工具更改。
数据库同步迁移文件
提示
数据库和迁移文件的双向同步,不仅支持字段的增删改,也支持数据表的增删改。
All versions of laravel-sync-database with dependencies
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 yuhal/laravel-sync-database contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.