https://github.com/newridetech/octobercms-classnames
This plugin provides a developer tool to generate complex CSS classnames in Twig templates in a way that makes them more readable.
https://github.com/newridetech/octobercms-classnames
octobercms octobercms-plugin
Last synced: 5 months ago
JSON representation
This plugin provides a developer tool to generate complex CSS classnames in Twig templates in a way that makes them more readable.
- Host: GitHub
- URL: https://github.com/newridetech/octobercms-classnames
- Owner: newridetech
- Created: 2018-04-24T18:18:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-28T02:05:11.000Z (almost 8 years ago)
- Last Synced: 2025-06-29T12:09:02.354Z (about 1 year ago)
- Topics: octobercms, octobercms-plugin
- Language: PHP
- Homepage: https://octobercms.com/plugin/newride-classnames
- Size: 19.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Classnames
This plugin provides a developer tool to generate complex CSS classnames in
Twig templates in a way that makes them more readable.
It's a port of https://github.com/JedWatson/classnames but for PHP.
If you want a pure PHP version without plugin, please try: https://github.com/newridetech/php-classnames
Instead of:
```html
....
```
Use:
```html
....
```
And that's all. :) I hope it helps.