Development docs (PHP)
-
Hello,
A few days ago I started with the development of a few packages for pfSense. The documentation on how to setup package development structure (http://doc.pfsense.org/index.php/Developing_Packages) is pretty good. But I'm missing an overview of the php calls are available for common tasks. For example starting a service, creating a rc file or adding a rule to the firewall.
Currently I'm using a checkout of the include files from github: https://github.com/bsdperimeter/pfsense/tree/master/etc/inc . It works but this is not a good solution when I want to lookup calls easy and fast. So does anyone have a docs page (e.g. in HTML) generated from this or similar solution? That would make it much easier for us to develop packages and re-use existing code.
Thanks in advance for your reply.
-
Really there has not been much documentation in this area.
Also the code is not in the shape to generate documentation since some comments are missing.For now is check existing packages and see what they do.
-
Thanks for your reply. I will continue to work the way you suggested.