Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Coding Standards of Grav?

Started by Toan Nguyen 9 years ago · 3 replies · 611 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 Jerry Hunt, 4 days ago
2 76 7 hours ago
General · by pamtbaau, 13 hours ago
1 47 12 hours ago
General · by Andy Miller, 1 day ago
0 44 1 day ago
General · by Marcel, 12 months ago
6 346 5 days ago
General · by Duc , 5 days ago
3 40 5 days ago