Skip to content

Programming Style Guide

Esteban Alvarez Zuluaga edited this page Sep 3, 2025 · 16 revisions

PHP

Function, class and variable nomenclature

Functions are to be specified in

Spacing and identantion

The project will use Laravel Pint as an automatic code styler for PHP code. Laravel Pint will ensure there is proper spacing and identation. To execute laravel Pint run:

./vendor/bin/pint

If Pint has not been downloaded, run:

composer require laravel/pint --dev

Standard without Pint

Laravel Pint uses standard PSR-12 for style in PHP. If identation and spacing is carried out manually, refer to the PSR-12 guide.

https://www.php-fig.org/psr/psr-12/

HTML

CSS

Clone this wiki locally