Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Development docs (PHP)

    Scheduled Pinned Locked Moved Development
    3 Posts 2 Posters 1.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Sander88
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • E
        eri--
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • S
          Sander88
          last edited by

          Thanks for your reply. I will continue to work the way you suggested.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.