Peezz / polarphp

a runtime container of PHP programming language

Home Page:https://polarphp.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Read this in other languages: English, 简体中文.

Why did I launch the polarphp project?

With the strong rise of Go and NodeJS, the market share of PHP has gradually been eroded, and the PHP official still sticks to the Web programming field. The more things you want to keep, the more you can't keep it. polarphp draws on the related features of NodeJS and Go to repackage zendVM, remove some of the old deprecated features and strong Web attributes of PHP, by implementing a new set of runtime framework libpdk , the PHP language is built into a true universal scripting language, empower PHP, let it have asynchronous programming, coroutine, thread, built-in unicode support, standard file IO and so on. So that the PHP programmer can not only do the web application, but also face the real server application. polarphp is not a new language, but a runtime container for the PHP language.

Main features

  • Compatible with the latest PHP language standard, removing obsolete language features
  • Built-in unicode standard support
  • Full-featured runtime library support, support for asynchronous programming, multi-threading and coroutine, etc.
  • Built-in package manager
  • Built-in document generator

Development plan

Due to limited development resources, the development plan is tentatively scheduled as follows:

  1. Compile zend VM with cmake to generate polarphp custom version of PHP language virtual machine
  2. Language support project, language testing framework, porting lit test framework for LLVM project
  3. Implement polarphp driver to implement PHP code from the command line
  4. Regression testing of the polarphp virtual machine, tentatively running the language virtual machine related regression test of PHP
  5. Implement the built-in function of polarphp
  6. Publish the docker image of the core virtual machine
  7. Integrate the libpdk runtime framework
  8. Achieve user-friendly installation, try to install polarphp in a minimum of steps
  9. Implementation package manager
  10. Implement language widgets such as document generation tools, etc.

Community

At present, we only target Chinese users for the time being, so we use the communication method of WeChat and QQ group. The following is the QR code. Interested students can scan the code to join:

PS:Please indicate the scan code, for example: learn polarphp or PHP enthusiasts

Currently has the following working groups

  1. Language core team
  2. Standard library team
  3. Ecosystem project team
  4. Document team
  5. Official website maintenance team

License

polarphp is redeveloped on top of the php language project, following the agreement of the php project. For details, please see: [Project Agreement] (/LICENSE)

Contribution code guidance

===========================

Acknowledgement

About

a runtime container of PHP programming language

https://polarphp.org

License:Other


Languages

Language:C++ 46.9%Language:C 36.4%Language:PHP 11.5%Language:CMake 2.4%Language:JavaScript 0.9%Language:Lex 0.6%Language:M4 0.6%Language:Yacc 0.4%Language:Shell 0.3%Language:Makefile 0.0%Language:DTrace 0.0%Language:Batchfile 0.0%