2017 © Pedro Peláez
 

orm simple-eloquent

This is a simplified version of the Eloquent ⚡️

image

marco/simple-eloquent

This is a simplified version of the Eloquent ⚡️

  • Wednesday, December 20, 2017
  • by PuShaoWei
  • Repository
  • 1 Watchers
  • 2 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

SimpleEloquent ORM

Build Status Coverage Status Scrutinizer Latest Stable Version License, (*1)

Installation

Use the following command to install, (*2)

composer require marco/simple-eloquent 

Application step

Really don't have too much time delay in the docker mysql on the mirror, so I gave in, manual, please..., (*3)

Running with docker-compos, (*4)

Step1: Start the container, (*5)

docker-compose up --build -d

Step2: Connected to the master, and run the following command to create a user used to synchronize data, (*6)

GRANT REPLICATION SLAVE ON *.* to 'backup'@'%' identified by '123456';

Step3: See master status, remember the File, the value of the Position, if you don't have to check the data, please check the first and the second step, the configuration problems. I found out that master-bin.000017, 312, (*7)

show master status;

Step4: Connect the slave, run the following command to connect the master, (*8)

change master to master_host='smart_master',master_user='backup',master_password='123456', master_log_file='master-bin.000004',master_log_pos=320;

Step5: Start the slave, (*9)

start slave;

Step6: Check the slave status., (*10)

show slave status\G

If you see Waiting for master send event indicates success, you are now in the main library on the modification, synchronization to from the library., (*11)

About

This is a simplified version of the Eloquent, (*12)

Correct the mistakes

If you find something wrong, you can initiate a issueor pull request,I will correct it in time, (*13)

Contributors

Marco, (*14)

License

MIT, (*15)

The Versions

20/12 2017

dev-master

9999999-dev

This is a simplified version of the Eloquent ⚡️

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

by Avatar PuShaoWei

orm database sql

20/12 2017

v1.0.0

1.0.0.0

This is a simplified version of the Eloquent ⚡️

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

by Avatar PuShaoWei

orm database sql

20/12 2017

dev-develop

dev-develop

This is a simplified version of the Eloquent ⚡️

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

by Avatar PuShaoWei

orm database sql