Plates
fig-standards
Plates | fig-standards | |
---|---|---|
6 | 47 | |
1,468 | 12,509 | |
0.4% | 0.1% | |
0.0 | 7.7 | |
5 months ago | 6 days ago | |
PHP | ||
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Plates
-
What is your tech stack for blog websites? (not wordpress)
I use PHP with Route, the Plates template engine, and my blog posts are markdown files grouped by folder (year/month/day.md).
-
Recommended using template engine in non framework projects?
If it's a simple project you could try Plates. Escaping is a little more verbose, but you don't have to learn any new syntax since it's native PHP.
-
First version of PHP Templating Abstraction released
β Plates
- Hey, anyone facing issues with Airtel Broadband/Prepaid blocking websites randomly
-
Weekly "ask anything" thread
Start reading through PSR standards and see if some (not all) of them sound like good ideas to you, and write a mini framework of your own around those ideas, with composer to import high quality third party packages such as Plates.
fig-standards
- Moving PHP forward through collaboration and standards
-
A workaround to handle PSR-4 && WordPress Coding Standards at same time
The namespaces and class names must follow this example.
-
Materials/Topics for Senior dev new to PHP
I would familiarize yourself with the following PHP standards: https://www.php-fig.org
-
Autoloading, coding standards and file structure in WordPress plugin development
The PHP Standard Recommendation, or PSR for short, from the aforementioned PHP-FIG.
- PHP-FIG considering raising money to cover $30/year costs
- PHP-FIG planning to raise money to cover $30/year costs
-
PSR-4 Autoloading Woes
That's what happens if you use a PSR-4 autoloader and not utilise PSR-4 in your project structure π So either use PSR-0 or properly use PSR-4.
- PHPDoc, PSR-5 and commenting inside the code
- PHP-Fig Is Down
-
I donβt get all the hate for PHP and at this point I am too afraid to ask.
PHP really "got it's act together" in my view when packagist and composer (which are PHP's equivalent of npm) became mainstream and with the release of the PSR community standards. We were admittedly a little behind the curve with regards to package managers but with standardised formats and not having to copy and paste zip file libraries anymore, PHP received a new lease of life.
What are some alternatives?
Twig - Twig, the flexible, fast, and secure template language for PHP
sulu - Core framework that implements the functionality of the Sulu content management system
Smarty - Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic.
laravel-totem - Manage Your Laravel Schedule From A Web Dashboard
Blade - View template engine of PHP extracted from Laravel
Symfony - The Symfony PHP framework
Latte - β Latte: the safest & truly intuitive templates for PHP. Engine for those who want the most secure PHP sites.
headless-wp-starter - πͺ WordPress + React Starter Kit: Spin up a WordPress-powered React app in one step
Foil - PHP template engine for native PHP templates
Brick\Money - A money and currency library for PHP
Mustache - A Mustache implementation in PHP.
app - Yii3 application template