I am a programmer. I have been writing code in Java and want to learn something. I want to know something about php, so I 'd like to ask if there is a classic, interesting, and simple php project on github? Thanks to some people for their attention, I hope you can recommend several php books as a programmer. I have been using Java to write code and want to learn something. I want to know something about php, so I 'd like to ask if there is a classic, interesting, and simple php project on github?
Bytes ----------------------------------------------------------------------------------------------------
Thanks for your attention, so I hope you can recommend some php books? Thank you for your reply: the link will not be posted. You can search for it on github. Here we will not list all the projects that we know, such as symfony and laravel. Only list interesting ones.
- The PHP Asynchronous Parallel network communication framework implemented by swoole and C extension allows you to redefine PHP. In the past, PHP could only be used as a Web project, but now Swoole is available. Any server-side program can be written in PHP.
- Swoole_framework, a development framework developed based on swoole Extension
- High-performance Web development framework implemented by yaf and C Extension
- Php-webim is a Web instant chat tool based on swoole. It supports websocket + http comet persistent link push and can send text content and images.
- ReactUse PHP code to implement the asynchronous framework. If swoole is an upgraded version of node. js, react. php is the standard PHP version of node. js.
- Workerman, similar to swoole, is implemented only in PHP. There are many sample projects on the official website. The underlying functions are less than those of swoole, but they are relatively simple. The application-layer functions are richer than those of swoole.
- Phalcon is also a high-performance Web framework developed by C extension similar to yaf. phalcon provides more comprehensive functions than yaf.
- ZephirThis is a bit amazing. You can use an intermediate code similar to PHP to write a program, and then convert it to C ++ automatically and run it as an extension. It can solve the problem of intensive computing performance in PHP.
- Phpdaemon
- Redis-async is an asynchronous redis client written based on swoole extension. The stress testing performance is similar to that of the Go language.
We look forward to adding more PHPer. Please note that this page will be updated continuously when new interesting projects are found in the future.
- Swoole
- Swoole framework
- Yaf
Swoole, in particular, subverts the previous concept of php. Swoole = nodejs of php, which is only better than nodejs in terms of code implementation and stress testing.
In swoole's case, php is generally run in nginx + php-fpm/hhvm or apache + php5_mod. Directly access the page to execute http://yourhostname.com/1.php
In this way.
Swoole is the one you write 1.php in linux.
Then nohup php 1.php & exit. This php 1. php resident process. Generally, you write a bit about socket, communication, and so on in 1.php. In particular, because swoole supports both full Asynchronization and synchronization, the IO model is well set. So the performance is extremely powerful, the key is very easy to use. For details, we will try to find out who should use it.
Swoole github: swoole/swoole-src · GitHub
Swoole Official Website: Swoole: asynchronous, parallel, and distributed extensions of PHP
In addition to socket, swoole has built-in protocols such as http server, ftp server, and websockt.
Swoole_process, swoole_table, and other useful components.
We recommend that you try it. In fact, swoole has nothing to do with php. Tens of thousands of lines of code written in pure C provide various functions, and finally provide a simple php interface encapsulation. In fact, if you are engaged in python and ruby, you can change the C code to the python and ruby interfaces, so that all major languages can be used. I believe someone will eventually do this.
Php multi-process pcntl, the code implementation is very slag.
Swoole provides the swoole_process multi-process module, which can be used to conveniently Write multi-process things with php.
Other php gadgets will not be mentioned.
The phone will not post the address. You can find the swoole yaf address above. If you cannot find it, you can send a private message to me.
I personally like some php c extensions and pay a lot of attention to them. I 'd like to check out some of them, such as Han tianfeng, laruence, and walu, which are better at studying php source code, they often share Neeke/SeasLog on github and Weibo.
A convenient, efficient, and standardized log extension
Neeke/Jsonnet-PHP · GitHub
PHP supports Google Jsonnet.
- DIYgod/QzoneAutoLike · GitHubAuto-likes In QQ space
- DIYgod/QzoneAutoReview · GitHubAutomatically comment on QQ space
- DIYgod/QzonePoster · GitHubComment on any model in the QQ space
- Releases · YOURLS/YOURLS · GitHubYOURLS short URL Program
- S0cial/Cloud-Sms · GitHubSMS cloud bombing
- Qakcn/qchan-GitHubQchan graph bed
- Giuem/TieBaRobot · GitHubCHATBOT
(*/Issue \ *) is just fun hprose/hprose-php · GitHub
HproseIt is short for the High Performance Remote Object Service Engine. It is an advanced lightweight cross-language cross-platform object-oriented high-performance Remote Dynamic communication middleware. It is not only easy to use, but also powerful. You only need a little time to learn, and you can use it to easily build a cross-language cross-platform distributed application system.
This is its PHP version. It can work perfectly with swoole to provide remote services based on various network layers.
Hprose/hprose-pecl · GitHub
This is the acceleration extension of Hprose for php. The hprose serialization and deserialization speeds included in the kill all other serialization extensions in php, such as php serialization, json, msgpack, and igbinary.
Git Hunt
You can find the latest open-source projects, using the Product Hunt method. Login or/workerman-todpole · GitHub
Php xiaoting chat room canvas animation + WebSocket + PHPhttps: // github.com/PocketMine/PocketMine-MP
Behat is not recognized in development,
Writing PHP again is useless.
GitHub-Behat/Behat: BDD framework for PHP 5.3 +