{"id":19925799,"url":"https://github.com/paloaltonetworks/pan-os-php","last_synced_at":"2025-05-03T08:31:26.026Z","repository":{"id":37466713,"uuid":"362708721","full_name":"PaloAltoNetworks/pan-os-php","owner":"PaloAltoNetworks","description":"Framework and utilities to easily manage and edit Palo Alto Network PANOS devices","archived":false,"fork":false,"pushed_at":"2025-04-25T20:48:18.000Z","size":21229,"stargazers_count":75,"open_issues_count":30,"forks_count":19,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-04-25T21:31:46.032Z","etag":null,"topics":["address-merger","api","bpa","firewall","firewall-configuration","pan-os","pan-os-php","panorama","php-library","rule-merger","service-merger","xml"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PaloAltoNetworks.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.txt","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-04-29T06:08:52.000Z","updated_at":"2025-04-08T13:17:05.000Z","dependencies_parsed_at":"2025-04-25T21:37:03.088Z","dependency_job_id":null,"html_url":"https://github.com/PaloAltoNetworks/pan-os-php","commit_stats":null,"previous_names":[],"tags_count":95,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaloAltoNetworks%2Fpan-os-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaloAltoNetworks%2Fpan-os-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaloAltoNetworks%2Fpan-os-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaloAltoNetworks%2Fpan-os-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PaloAltoNetworks","download_url":"https://codeload.github.com/PaloAltoNetworks/pan-os-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252162523,"owners_count":21704266,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["address-merger","api","bpa","firewall","firewall-configuration","pan-os","pan-os-php","panorama","php-library","rule-merger","service-merger","xml"],"created_at":"2024-11-12T22:24:14.134Z","updated_at":"2025-05-03T08:31:21.386Z","avatar_url":"https://github.com/PaloAltoNetworks.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"pan-os-php\n================\n\n\nPAN-OS-PHP is a PHP library aimed at making PANOS config changes easy (and XML free ;), \nmaintainable and allowing complex scenarios like rule merging, unused object tracking,\nconversion of checkpoint exclusion groups, massive rule editing, AppID conversion … . \nIt will work seamlessly on PAN-OS local xml config file or PAN-OS API.\n\nINSTALLATION\n============\n\nThe recommended installation of PAN-OS-PHP is via Docker.\nPlease install Docker Desktop if needed.\n\n[README docker](https://github.com/PaloAltoNetworks/pan-os-php/blob/main/READMEdocker.md)\n\n[WIKI docker](https://github.com/PaloAltoNetworks/pan-os-php/wiki/docker)\n\n\nOld detailed information\n============\n**Homepage** : latest sources on [GitHub](https://github.com/PaloAltoNetworks/pan-os-php).\n\n**Requirements** :\n - PHP 8.1 with curl module [ tested with PHP 5.5 / 5.6 / 7.3 / 7.4 / 8.0 / 8.1 / 8.2 ]\n - php-curl php-dom php-mbstring php-bcmath\n\n**Usage**: include the file lib/pan_php_framework.php in your own script to load the necessary classes.\n```php\n    require_once \"lib/pan_php_framework.php\";\n```\n\nFile tree:\n* **/lib/** contains library files source code\n* **/utils/** contains ready to run scripts, more information in [utils/README](https://github.com/PaloAltoNetworks/pan-os-php/blob/main/utils/README.md)\n* **/doc/index.html**  has all classes documentations\n* **/example-xxx.php** are examples about using this library\n\nSUPPORT\n============\nThis tool is provided \"AS IS\" and is community supported.\nPlease also check the [LICENSE](https://github.com/PaloAltoNetworks/pan-os-php/blob/main/LICENSE) file.\n\nFor help, it is always possible to open a GIT issue for this repository, or reaching out to [Palo Alto Networks LIVE community page](https://live.paloaltonetworks.com/t5/api-articles/pan-os-php-scripting-library-and-utilities/ta-p/404396).\n\nUsage (create custom Scripts)\n============\n\nWith less than 20 lines of code, you should be able to solve most of your needs. Brief overview:\n\n[README customScripting](https://github.com/PaloAltoNetworks/pan-os-php/blob/main/READMEcustomScripting.md)\n\n\nUTIL (predefined Scripts)\n============\n\n**You hate scripting ?**\n\nUse around 50 different predefined entry parts [e.g. address / service / tag / rule / ...] with 100 of actions and filters to easily improve your Palo Alto Networks Firewall and Panorama configuration\n\n[README util](https://github.com/PaloAltoNetworks/pan-os-php/blob/main/READMEutil.md)\n \n\n\nDocker build\n============\n\nThere are Dockerfiles available with OS: Ubuntu20/22 and CentOS 7/8\n\n[README docker](https://github.com/PaloAltoNetworks/pan-os-php/blob/main/READMEdocker.md)\n\n[WIKI docker](https://github.com/PaloAltoNetworks/pan-os-php/wiki/docker)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaloaltonetworks%2Fpan-os-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaloaltonetworks%2Fpan-os-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaloaltonetworks%2Fpan-os-php/lists"}