______ _ ______ _
|___ / | | | ____| | |
/ / ___ _ __ __| |______| |__ __ _| |_
/ / / _ \ '_ \ / _` |______| __| \ \/ / __|
/ /_| __/ | | | (_| | | |____ > <| |_
/_____\___|_| |_|\__,_| |______/_/\_\\__|
Generator of PHP extension
The Zend\Ext component provides tools for working with Gtk sources. Currently, we offer Zend\Ext\CodeGenerator, which provides a unified interface for modeling and generating C-code.
It will be used in PHP-GKT project.
$] git clone Zend-Ext
$] cd zend-ext
$] composer install
$] cmd/generate-ext.sh /home/dev/php-src/ext/gtkml
$] cmd/generate-doc.sh /home/dev/php-doc/doc-en
$] cmd/generate-doc.sh /home/dev/php-doc/doc-fr
$] cmd/generate-web.sh /home/dev/php-web
cmd/generate-ext.sh --gtk-version="3.22.30" /home/dev/php-src/ext/gtkml
It clone Gtk repository in /tmp and it's dependency and build the documentation. For a specific version It store resume file in /data//enums|objects|boxed|data-structure.
/Models contains all file to modelize C-Code.
/Views contains all template to generate C-Code.
/Helpers contains all file to generate C-Code strategy naming.
/Services contains :
/GtkDocSource.php (Parse documentation)
/GlibDocSource.php
/PangoDocSource.php
/CairoDocSource.php
It's these files than do the hard job.