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

We follow Google's HTML style guide as well

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

CSS

Sass

http://sass-lang.com/