PHP Twig

Open-source PHP projects categorized as Twig

Top 23 PHP Twig Projects

  1. Grav

    Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS powered by PHP, Markdown, Twig, and Symfony

    Project mention: Ask HN: Do you still self-host a blog? What's your publishing stack? | news.ycombinator.com | 2025-04-01
  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. Twig

    Twig, the flexible, fast, and secure template language for PHP

    Project mention: 2025 Best PHP Micro Frameworks: Slim, Flight, Fat-Free, Lumen, and More! | dev.to | 2025-02-27

    Simplicity: Getting started is a breeze—install via Composer, define some routes, and you’re off. Scaling up? Add middleware or libs like Twig or Eloquent as needed.

  4. timber

    Create WordPress themes with beautiful OOP code and the Twig Template Engine (by timber)

  5. Bolt

    Bolt is a simple CMS written in PHP. It is based on Silex and Symfony components, uses Twig and either SQLite, MySQL or PostgreSQL. (by bolt)

  6. Pico

    Pico is a stupidly simple, blazing fast, flat file CMS. (by picocms)

  7. CraftCMS

    Build bespoke content experiences with Craft. (by craftcms)

    Project mention: Matt Mullenweg Asks What Drama to Create in 2025, Community Reacts | news.ycombinator.com | 2024-12-27
  8. Slugify

    Converts a string to a slug. Includes integrations for Symfony, Silex, Laravel, Zend Framework 2, Twig, Nette and Latte.

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. Chamilo LMS

    Chamilo is a learning management system focused on ease of use and accessibility

  11. ec-cube

    EC-CUBE is the most popular e-commerce solution in Japan

  12. Bolt 5 Core

    🧿 Bolt 5 core (by bolt)

  13. Chyrp Lite

    An ultra-lightweight blogging engine, written in PHP.

    Project mention: WordPress Alternatives | news.ycombinator.com | 2024-10-10

    For personal blog, I have found the following alternatives:

    - Chyrp Lite: lightweight blogging engine, written in PHP. https://github.com/xenocrat/chyrp-lite

    - Typecho: a PHP-based blog software. https://github.com/typecho/typecho

    and file-based static content generator:

    - Quartz: Publish an Obsidian vault as a static site. https://github.com/jackyzha0/quartz

    - Logseq: Publish a Logseq graph as a static site. https://github.com/logseq/publish-spa

    also Jekyll templates:

    - https://github.com/maximevaillancourt/digital-garden-jekyll-...

  14. Spress

    PHP Static site generator (by spress)

  15. Twig-View

    Slim Framework view helper built on top of the Twig templating component

  16. MtHaml

    Multi target HAML (HAML for PHP, Twig, <your language here>)

  17. twigcs

    The missing checkstyle for twig!

  18. Rehike

    A custom YouTube server that aims to faithfully restore the old frontend and layout.

  19. yoyo

    Yoyo is a full-stack PHP framework to create rich, dynamic interfaces using server-rendered HTML. You keep on writing PHP and let Yoyo make your creations come alive.

    Project mention: Show HN: Yoyo is a Livewire/Htmx alternative | news.ycombinator.com | 2024-11-26
  20. ux-twig-component

    Twig components for Symfony

  21. media-bundle

    MediaBundle is a media file manager bundle for Symfony with a REST API and an admin interface (React)

  22. sprig

    Bare bones Twig templating support for WordPress (by kingkool68)

  23. query-monitor-twig-profile

    Displays Twig profiler output in Query Monitor

  24. footnotes

    Craft CMS plugin for adding a footnotes feature to CKEditor fields and Twig templates

  25. framework

    PHP Framework providing ActiveRecord models and out of the box CRUD controllers with versioning and ORM support (by Divergence)

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

PHP Twig discussion

Log in or Post with

PHP Twig related posts

  • Why is front-end dictating the codebase?

    1 project | dev.to | 15 Feb 2025
  • Building a Simple Grav CMS Theme with Twig, PHP, and CSS

    2 projects | dev.to | 6 Dec 2024
  • Show HN: Yoyo is a Livewire/Htmx alternative

    1 project | news.ycombinator.com | 26 Nov 2024
  • Symfony 7 vs. .NET Core 8 - Templating

    2 projects | dev.to | 29 Jul 2024
  • Bolt VS core - a user suggested alternative

    2 projects | 13 Apr 2024
  • How to integrate Component Architecture into Symfony?

    2 projects | dev.to | 15 Mar 2024
  • XSS Attack - Why strip_tags is not enough

    3 projects | dev.to | 13 Sep 2023
  • A note from our sponsor - InfluxDB
    influxdata.com | 18 Apr 2025
    Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. Learn more →

Index

What are some of the best open-source Twig projects in PHP? This list will help you:

# Project Stars
1 Grav 14,887
2 Twig 8,266
3 timber 5,578
4 Bolt 4,156
5 Pico 3,872
6 CraftCMS 3,396
7 Slugify 2,896
8 Chamilo LMS 851
9 ec-cube 764
10 Bolt 5 Core 555
11 Chyrp Lite 428
12 Spress 373
13 Twig-View 365
14 MtHaml 360
15 twigcs 347
16 Rehike 238
17 yoyo 200
18 ux-twig-component 192
19 media-bundle 58
20 sprig 49
21 query-monitor-twig-profile 29
22 footnotes 21
23 framework 18

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that PHP is
the 14th most popular programming language
based on number of references?