Skip to content

Instantly share code, notes, and snippets.

@nkmwambs
nkmwambs / php-style-guide.md
Created February 26, 2023 21:15 — forked from ryansechrest/php-style-guide.md
PHP style guide with coding standards and best practices.

PHP Style Guide

All rules and guidelines in this document apply to PHP files unless otherwise noted. References to PHP/HTML files can be interpreted as files that primarily contain HTML, but use PHP for templating purposes.

The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Most sections are broken up into two parts:

  1. Overview of all rules with a quick example
  2. Each rule called out with examples of do's and don'ts
We can't make this file beautiful and searchable because it's too large.
fcp_id,account_code,account_type,year,cost
KE200,E10,0,2015,1599787.02
KE200,E10,0,2016,4257213
KE200,E10,0,2017,3212590
KE200,E10,0,2018,2120472
KE200,E10,0,2019,886740
KE200,E10,0,2020,435000
KE200,E10,0,2021,85908.2
KE200,E15,0,2016,69954
KE200,E15,0,2017,27000
@nkmwambs
nkmwambs / cssNamedColors.csv
Last active July 1, 2022 20:19
CSS Named Colors
Specification Keyword RGB hex value
CSS Level 1 black #000000
CSS Level 1 silver #c0c0c0
CSS Level 1 gray #808080
CSS Level 1 white #ffffff
CSS Level 1 maroon #800000
CSS Level 1 red #ff0000
CSS Level 1 purple #800080
CSS Level 1 fuchsia #ff00ff
CSS Level 1 green #008000