We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Phalcon 2.0.0 migration

Hey Guys,

We're migrating the code from 1.3 to 2.0. Migrating to Zephir will make the code base more maintainable and readable, allowing us to easily add more features and release more features soon and better. By introducing Zephir, we are taking the opportunity to do something unprecedented in the PHP world, a chance to do something revolutionary as Phalcon is.

Current Status

We now have about a 70% of the expected functionality implemented in Zephir, (very sure it is not perfect) but this does not stop us to continue migrating the code from 1.3 to 2.0.

If you are reading this and have experience with Phalcon Internals, please help us to finish the migration and keep 1.3 and 2.0 in sync, so we could release a 2.0.0 that implement the same functionality as 1.x.

2.0.0 branch https://github.com/phalcon/cphalcon/tree/2.0.0

This directory contains a lot of examples on how to write Zephir code: https://github.com/phalcon/cphalcon/tree/2.0.0/phalcon

This page contains the 2.0.0 evolution: https://github.com/phalcon/cphalcon/wiki/Progress-2.0

Thank you!

Awesome! Thanks Phalcon Team!

Astonishing. Press ahead, this is a hell of a project.

Ive also migrated a pre-existing php based library for generating hal format api responses in zephir:

https://github.com/brandonlamb/hal-1/tree/develop

any difference for framework users? not back-end developers? Do we have to make any modifications to our previously written code or phalcon 2.x will support 1.x PHP code?

Hi, don't wory about future compatibility, read this post "Phalcon 2.0 alpha 1 released!" on https://blog.phalcon.io/ "Phalcon 2.0 is passing a large number of unit tests. However, more work is needed to ensure that implemented functionality is compatible with 1.x prior to introducing any major changes" if there will be any changes to api then Phalcon team write migration guide :)

great :) thanks for info ;)

Thank you guys for making such a powerful framework. You're awesome.