|over 6 years ago||4 days ago|
|GNU General Public License v3.0 or later||BSD 3-clause "New" or "Revised" License|
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.
We haven't tracked posts mentioning Phly Mustache yet.
Tracking mentions began in Dec 2020.
Idea - string literals with syntax
2 projects | reddit.com/r/perl | 17 Dec 2021
… which nobody uses in serious PHP applications anymore. (Typical solution is to use a template engine like Twig.)
Current best CMS for integrating into HTML site?
1 project | reddit.com/r/web_design | 29 Nov 2021
This is addressed right on the home page: https://twig.symfony.com
Twig - The Ultimate Guide to the Premier PHP Templating Language
1 project | dev.to | 24 Nov 2021
For your future reference, here’s the link to the official TWIG repository on GitHub. I will link to it at the bottom of the article as well.
What is the best practice for sending and receiving data between HTML and PHP?
3 projects | reddit.com/r/webdev | 12 Nov 2021
The controller takes that data model instance and passes it to a view where the data can get inserted into markup and rendered as HTML. Use a templating engine for your view layer. I like twig for php. That way you're basically just writing html with some spiciness like loops and vars.
I might get an intern as a php dev, only used languages & web frameworks etc. What should I know?
11 projects | reddit.com/r/PHPhelp | 11 Nov 2021
Popular Packages & Tools - The League of Extraordinary Packages - Twig Templating engine - PHP Mailer - SwiftMailer - Flysystem file storage - PHPUnit testing - HTML Purifier
learning drupal for work - first time user help
1 project | reddit.com/r/drupal | 19 Oct 2021
Drupal has Content Types, out of the box, Article and Basic Page, these would be similar to a Post and a Page in WP. Most likely, your company's site will have additional Content Types that were created, but that's how you add content to the site. Drupal has Blocks which would be similar to Widgets in WP. Blocks are placed in Regions which would be similar to adding a Widget to a sidebar or footer. The theming is somewhat similar in principle, Drupal has it's own Drupal-specific functions like WP does. If it's 8/9, you'll need to familiarize yourself with Twig.
Weekly "ask anything" thread
5 projects | reddit.com/r/PHP | 4 Oct 2021
Not crazy, but not efficient either. Use a proper template engine (like Twig) and do page score tests with regular intervals. Find out what is slow, what isn't slow and target things that make your site slow down.
Would you like to contribute to my side project?
2 projects | reddit.com/r/webdev | 25 Sep 2021
Loading images using JS
To take you a little further down the rabbit hole, you could also look into web templating systems like Handlebars or Twig.
Component Form Symfony
1 project | dev.to | 20 Aug 2021
What are some alternatives?
Plates - Native PHP template system
Latte - ☕ Latte: the intuitive and fast template engine for those who want the most secure PHP sites.
Mustache - A Mustache implementation in PHP.
Smarty - Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic.
Blade - View template engine of PHP extracted from Laravel
PHPTAL - PHP Template Attribute Language — template engine for XSS-proof well-formed XHTML and HTML5 pages
Tale Jade - A complete and fully-functional implementation of the Jade template language for PHP
MtHaml - Multi target HAML (HAML for PHP, Twig, <your language here>)
Foil - PHP template engine for native PHP templates
Flysystem - Abstraction for local and remote filesystems
Gson - A Java serialization/deserialization library to convert Java Objects into JSON and back
Spress - PHP Static site generator