早在2013年第一次接入支付宝的服务,当时下载到的sdk感觉无比烂,但是项目紧急直接拿来用了,今年2016年又有项目需要接入支付宝及时到账服务,我重新下载sdk后发现,这么多年依然没有变动,毅然决定重构这狗屎一般的sdk
本版feature
- 支持命名空间,不污染代码
- 全部class化,便于自动加载
- 结构清晰化,命名空间+类名命名层级与文件目录结构一致
其它废话不多说了,自己看代码吧,我是放在yaf中使用的,之后会提供一个example
third party alipay directpay SDK in PHP
License: MIT License
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.