{"id":22466907,"url":"https://github.com/mavimo/prism-monokai-php","last_synced_at":"2025-03-27T15:20:31.841Z","repository":{"id":12832601,"uuid":"15507997","full_name":"mavimo/prism-monokai-php","owner":"mavimo","description":"Add monokai theme to PrismJS and better support for PHP language.","archived":false,"fork":false,"pushed_at":"2013-12-29T15:44:57.000Z","size":536,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T07:55:02.836Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mavimo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-29T12:15:10.000Z","updated_at":"2015-02-16T17:43:25.000Z","dependencies_parsed_at":"2022-08-31T00:01:13.622Z","dependency_job_id":null,"html_url":"https://github.com/mavimo/prism-monokai-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mavimo%2Fprism-monokai-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mavimo%2Fprism-monokai-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mavimo%2Fprism-monokai-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mavimo%2Fprism-monokai-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mavimo","download_url":"https://codeload.github.com/mavimo/prism-monokai-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245868327,"owners_count":20685609,"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-12-06T10:14:36.633Z","updated_at":"2025-03-27T15:20:31.817Z","avatar_url":"https://github.com/mavimo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prism monokai PHP\n\nAdd [monokai theme](http://www.monokai.nl/blog/2006/07/15/textmate-color-theme/) to [PrismJS](http://prismjs.com) and better support for PHP language.\n\nI use Sublime Text 3 as my default text editor and I love the Monokai theme that\nis available. Some elements are not higlighted in Prism and is not possibile style\nPHP code as visibile in ST3.\n\nThis package implements some new rules and override other to have better syntax\nhighlight and add monokai theme.\n\n## Demo\n\nSublime Text 3:\n\n![monokai ST3](demo/monokai-st3.png)\n\nPrism with prism-monokai-php:\n\n![monokai Prism](demo/monokai-prism.png)\n\n## Usage\n\nAfter include prism and other PHP language detection script, add also the ```prism-monokai-php.min.js```. This enable some new element higlight. To enable Monokai theme add also the ```prism-monokai-php.min.css```:\n\n```html\n  \u003cscript src=\"/mavimo/prism-monokai-php/dist/prism-monokai-php.min.js\" /\u003e\n  \u003clink src=\"/mavimo/prism-monokai-php/dist/prism-monokai-php.min.css\" /\u003e\n```\n\n## Development\n\nInstall dependencies using bower and npm:\n\n```bash\n  npm install\n  bower install\n```\nchange what do you need in src folder and use grunt to regenerate the output files:\n\n```bash\n  grunt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmavimo%2Fprism-monokai-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmavimo%2Fprism-monokai-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmavimo%2Fprism-monokai-php/lists"}