Customize colors for PHP types. Highlight specified classes, interfaces, enums, and all other PHP types with your own colors.
Set colors for specific types in the plugin settings.
After applying, your code will be highlighted in:
- Property declarations (
public CustomType $property) - Property references (
$object->property) - Variables (
$variable)
This list can also be customized in the settings.
Control all type → color mappings at:
File → Settings → Editor → PHP Color Cast
Contributions and issues are welcome! Please open a GitHub issue or pull request.
MIT License © Re7r