edit

Erdiko coding style guide

All of the Erdiko code is broken up into convenient packages that are published on either Packagist (PHP) or NPM (JavaScript & Sass). All code is stored on Github.

Below you will find details on how we write our code. We do our best to stick to these guidelines.

PHP

We adhere to the PSR coding style guide.

http://www.php-fig.org/psr/psr-2/

More useful PHP-FIG links:

http://www.php-fig.org/bylaws/psr-naming-conventions/

http://www.php-fig.org/psr/psr-1/

JavaScript

We follow Google's JavaScript style guide.

https://google.github.io/styleguide/jsguide.html

HTML / CSS

We follow Google's HTML / CSS style guide as well

https://google.github.io/styleguide/htmlcssguide.html

Sass

We adhere to Sass best practices, but we admit there is plenty of room for improvement here as we continue to break apart front-end code into re-usable packages.

http://sass-lang.com/