-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Hello everybody. Since PHP 8 was released last year, maybe some are looking for a port of the cairo-extension for PHP.
Here it is! It took quite a bit of work, but now it's finished after all.
I've created a fork and a new branch. The code can be found here:
https://github.com/swen100/cairo
What have I done:
- Ported to PHP8
- full rewrite of all tests and added tests for new methods
- added support for direct raster-output in format JPEG
- added 17 methods and class-constants to Cairo\Region (cairo 1.10)
- added 7 methods and class-constants to Cairo\Surface\Pdf (cairo 1.12, 1.16)
- added 2 methods and class-constants to Cairo\Surface\Svg (cairo 1.16)
- added 1 method to Cairo\Surface\Recording (cairo 1.12)
- added 5 methods to Cairo\Surface (cairo 1.12 and 1.14)
I would be happy if someone in charge and with access to the project could make a php8-branch in the original project to be able to take over the code from my branch.
Btw, the extension needed for cairo (datastructures) was also adapted to work with PHP 8 and can be found here:
https://github.com/swen100/structures
Many greetings, Swen
Metadata
Metadata
Assignees
Labels
No labels