I have write a sophisticate system in php5 (many classes that use static method and include other files)
Now I want to distribuite that ant i would choose the module way, so i like to create a module like myFramework.so and include it in Apache (maybe) and after, when i write some php app, I'll use method and/or classes.
Now i write
<?php
include("myFramework.php");
myClass::callMymethod();
?>
The problem is I won't to share my source code and i don't think that obfuscation of code is the better way, so, i prefer to create a module compiled but i don't know :
1 - if is it possible 2 - if Yes, what is the ways 3 - other way
I whant to do that
<?php
myClass::callMymethod();
?>
and no use autoinclude, i wont to protect my code, i see that if I include curl module or mysql lib, I can use function for both, how I can create that with my framework?