Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Coding Standards of Grav?

Started by Toan Nguyen 9 years ago · 3 replies · 892 views
9 years ago

Hello,

I'm wondering what is the coding standard for Js, Css, PHP..etc in Grav. Grav built on Symfony, so it should be PSR-2 ?

Thanks.

9 years ago

It's not really built "on" anything per say. We don't use an underlying framework because Grav needs to run as fast as possible.. However, we do use a bunch of packages to handle specific things like Twig templating, Doctrine caching, Symfony YAML, Collections, DI, etc.

👍 1

Suggested topics

Topic Participants Replies Views Activity
General · by Andy Miller, 7 days ago
0 114 7 days ago
General · by lynbor, 1 month ago
3 443 2 weeks ago
General · by lynbor, 3 weeks ago
7 562 2 weeks ago
General · by Harry, 2 weeks ago
0 162 2 weeks ago
General · by Old Man Umby, 1 month ago
2 309 4 weeks ago