{"id":18584962,"url":"https://github.com/php-mod/pygments","last_synced_at":"2025-05-16T05:33:51.817Z","repository":{"id":21709890,"uuid":"25031380","full_name":"php-mod/pygments","owner":"php-mod","description":null,"archived":false,"fork":false,"pushed_at":"2014-10-17T03:29:28.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-25T23:44:17.824Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/php-mod.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-10T10:41:22.000Z","updated_at":"2014-10-10T10:52:26.000Z","dependencies_parsed_at":"2022-08-17T20:01:08.516Z","dependency_job_id":null,"html_url":"https://github.com/php-mod/pygments","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-mod%2Fpygments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-mod%2Fpygments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-mod%2Fpygments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-mod%2Fpygments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/php-mod","download_url":"https://codeload.github.com/php-mod/pygments/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254474634,"owners_count":22077327,"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":[],"created_at":"2024-11-07T00:29:33.966Z","updated_at":"2025-05-16T05:33:51.794Z","avatar_url":"https://github.com/php-mod.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Pygments for PHP\n================\n\nPHP Server side syntax highlighter based on [Pygments](http://pygments.org/ \"\") highlighter software.\n\n## Installation:\nTo use this plugin you need pygments in your server:\n\n```\nsudo apt-get python-pygments\n```\n\nThat's all. Now you can download the plugin via Composer or as independent library and use it.\n\n## Usage\n\n```php\n\n$code = file_get_contents(\"test.js\");\necho Pygmentize::format($code, \"js\");\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-mod%2Fpygments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphp-mod%2Fpygments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-mod%2Fpygments/lists"}