https://github.com/dconco/phpspa-highlighter-plugin
PhpSPA Highlighter Plugin adds syntax highlighting support for embedded HTML, CSS, and JavaScript code within PHP heredoc (<<<HTML) and nowdoc (<<<'HTML') blocks. Automatically highlights code based on the heredoc identifier (HTML, CSS, JS, JAVASCRIPT).
https://github.com/dconco/phpspa-highlighter-plugin
acode acode-plugin extension php phpspa plugin
Last synced: 8 days ago
JSON representation
PhpSPA Highlighter Plugin adds syntax highlighting support for embedded HTML, CSS, and JavaScript code within PHP heredoc (<<<HTML) and nowdoc (<<<'HTML') blocks. Automatically highlights code based on the heredoc identifier (HTML, CSS, JS, JAVASCRIPT).
- Host: GitHub
- URL: https://github.com/dconco/phpspa-highlighter-plugin
- Owner: dconco
- License: mit
- Created: 2025-09-29T10:05:49.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2026-07-02T03:56:31.000Z (9 days ago)
- Last Synced: 2026-07-02T05:26:35.588Z (9 days ago)
- Topics: acode, acode-plugin, extension, php, phpspa, plugin
- Language: TypeScript
- Homepage: https://acode.app/plugin/acode.plugin.phpspa
- Size: 1.55 MB
- Stars: 5
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 🎨 PhpSPA Highlighter



**Syntax highlighting for PhpSPA components in Acode**
## What is this?
PhpSPA uses heredoc syntax to write HTML, CSS, and JavaScript inside PHP components. This plugin makes that code actually look good with proper syntax highlighting.
## Features
- 🎯 Highlights `<<
Hello {$name}!
HTML;
}
public function styles($defaultColor) {
return <<
**Made for the PhpSPA community** ❤️
[Report Bug](https://github.com/dconco/phpspa-highlighter-plugin/issues) • [Request Feature](https://github.com/dconco/phpspa-highlighter-plugin/issues) • [View Docs](QUICK_START.md)