An opinionated blade template formatter for Laravel that respects readability
The blade-formatter is an opinionated blade template formatter for Laravel that aims to provide a formatter for blade templates, as there is no official blade template formatter available. It offers features such as automatic indentation of markup inside directives, automatic spacing for blade templating markers, support for PHP 8 features, PSR-2 support, and automatic Tailwind CSS class sorting.
The blade-formatter is an opinionated blade template formatter for Laravel that offers various features to format blade templates. It provides automatic indentation of markup inside directives, adds spacing to blade templating markers, supports PHP 8 features and PSR-2 format inside directives. It also includes the ability to automatically sort Tailwind CSS classes. The blade-formatter can be installed using yarn or global docker.
Laravel is a powerful and elegant PHP framework that provides developers with a comprehensive set of tools and features to build robust web applications. It follows the Model-View-Controller (MVC) architectural pattern, offering a clean and organized structure for writing efficient and maintainable code.
Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.
TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.