fescar-php icon indicating copy to clipboard operation
fescar-php copied to clipboard

Php Implementation For Seata

Seata-PHP: Simple Extensible Autonomous Transaction Architecture(PHP version)

license

简体中文 ZH

What is Seata-PHP?

Seata is a very mature distributed transaction framework, and is the de facto standard platform for distributed transaction technology in the Java field. Seata-PHP is the implementation version of PHP language in Seata multilingual ecosystem, which realizes the interoperability between Java and PHP, so that PHP developers can also use Seata-PHP to realize distributed transactions. Please visit the official website of Seata to view the quick start and documentation.

The principle of Seata-PHP is consistent with that of Seata-Java, which is composed of TM, RM and TC. The functions of TC reuse Java, and the functions of TM and RM will be aligned with Seata-Java later. The overall process is as follows:

TODO list

  • [ ] TCC
  • [ ] XA
  • [x] AT
  • [ ] SAGA
  • [x] TM
  • [ ] RPC communication
  • [ ] Transaction anti suspension
  • [ ] Null compensation
  • [ ] Registration Center
  • [ ] Metric monitoring
  • [x] Examples

How to run?

  1. First download seata java and Start the TC service. For the specific process, refer to seata deployment guide Documentation
  2. Run seata-php whith seata-skeleton

How to join us?

Seata-PHP is currently in the construction stage. Welcome colleagues in the industry to join the group and work with us to promote the construction of Seata-PHP! If you want to contribute code to Seata-PHP, you can refer to the code contribution Specification document to understand the specifications of the community, or you can join our community DingTalk group: 44788115 and communicate together!

License

Seata-PHP uses Apache license version 2.0. Please refer to the license file for more information.