PHP Twig

Open-source PHP projects categorized as Twig

Top 23 PHP Twig Projects

  • Grav

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

    Project mention: Ask HN: What self-hosted CMS can import from WordPress? | | 2023-01-19

    I moved my personal blog to Grav a couple of years ago:

    There are plugins for WordPress to generate markdown files from your posts and then you can import that into Grav. I self-host this in Docker and find it much more pleasing to actually write things. Statamic is another similar markdown-based CMS that I've been eyeballing.

  • Twig

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

    Project mention: Slim, possívelmente o framework ideal para quem vem do Golang | | 2023-01-14
  • Cloudways

    Managed Cloud Hosting Platform. Cloudways leverages advanced technology and powerful servers. Cloudways is a one-click managed cloud hosting platform that provides cloud application and server management solutions. Get up to 2 months of Free Hosting by using code "LIBHUNT" and get a $30 free hosting credit.

  • timber

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

    Project mention: Can I build a one-page Wordpress site using only ACF Pro? | | 2022-11-09

    Would just drop underscore and go for with their starter theme.

  • 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)

  • Pico

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

    Project mention: Which CMS do you prefer? | | 2023-01-12

    I like PicoCMS a lot.

  • CraftCMS

    Craft is a flexible, extensible platform for creating bespoke digital experiences.

    Project mention: best php-based cms/tech choice | | 2022-12-28

    For all CMSs I think you will find advantages and disadvantages (there is also a german website collecting CMS, or you will even find CMS projects on Symfony CMS page but even unmaintained projects are listed there), I think it is good to be always open for all technologies and use the correct choice what is best matches how your team is working on the project. So you maybe want first decide if you want to go into a Framework based CMS or stay with a Traditional CMS or even want to use a Headless based CMS and there for self hosted or SaaS. There are Flat Filesystem based CMS which you maybe want to give a try. There are even a lot of small CMS systems around, sure there is always a risk of that such systems get abandoned if not backed by some company. Also none free systems like CraftCMS (Yii 2 Framework based) and Ibexa EzPlatform and co exists. You also will find Data management tools like PimCore, which are not focus on CMS but are listed as CMS alternative, or find Plugin Extension for shop systems like Magento or Sylius. They have its limits but can solve small content management problems.

  • Slugify

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

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • starter-theme

    The "_s" for Timber: a dead-simple theme that you can build anything from

  • ec-cube

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

  • Chamilo LMS

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

  • core

    🧿 Bolt 5 core (by bolt)

    Project mention: 5.0 Upgrade instructions | | 2022-12-30
  • Spress

    PHP Static site generator (by spress)

  • MtHaml

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

  • Twig-View

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

    Project mention: Build a Speech-to-Text Web Application with Rev AI and PHP (Part 1) | | 2022-08-26

    Twig-View: a template engine for Slim based on Twig

  • Typemill

    TYPEMILL is a simple and lightweight Flat-File-CMS for authors and publishers.

    Project mention: Free Tech Tools and Resources - Ubuntu Maintenance, Documentation Help, Auto-Reconnecting Shell &amp; More | | 2022-09-13

    Typemill is an open-source, flat-file CMS for documentation, ebooks and websites. Features a visual markdown editor and lots of options for themes, plugins and templates. All content is stored in markdown files for easy downloading. Kindly recommended by TinPin94.

  • twigcs

    The missing checkstyle for twig!

    Project mention: Support for Twig templates | | 2022-02-17

    Diagnostics: twigcs through null-ls

  • Chyrp Lite

    An ultra-lightweight blogging engine, written in PHP.

    Project mention: Chyrp Lite – PHP tumblelogging CMS that supports SQLite | | 2023-01-09
  • sprig

    Bare bones Twig templating support for WordPress (by kingkool68)

    Project mention: Any full Timber tutorial ( other than the documentation)? | | 2022-10-23

    If you're interested in using Twig to separate your HTML markup from PHP check out Sprig ( You can still use all of the PHP functions you know and love. There's a demo theme to give you an idea on how to get started.

  • query-monitor-twig-profile

    Displays Twig profiler output in Query Monitor

  • footnotes

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

  • media-bundle

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

    Project mention: Media Bundle for Symfony - Looking for feedback | | 2023-01-11

    Infrastructure leak to domain:

  • Bravecms

    Brave CMS is an open-source CMS. Easy to use, easy to customize. Dedicated to developers.

    Project mention: Bravecms: Brave CMS is an open-source CMS. Easy to use, easy to customize. | | 2022-02-12
  • unleash-bundle

    An Unleash bundle for Symfony applications to provide an easy way to use feature flags

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

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). The latest post mention was on 2023-01-19.

PHP Twig related posts


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

Project Stars
1 Grav 13,631
2 Twig 7,693
3 timber 5,182
4 Bolt 4,146
5 Pico 3,654
6 CraftCMS 2,932
7 Slugify 2,799
8 starter-theme 759
9 ec-cube 701
10 Chamilo LMS 663
11 core 446
12 Spress 373
13 MtHaml 363
14 Twig-View 321
15 Typemill 314
16 twigcs 295
17 Chyrp Lite 208
18 sprig 40
19 query-monitor-twig-profile 25
20 footnotes 19
21 media-bundle 17
22 Bravecms 11
23 unleash-bundle 8
Build time-series-based applications quickly and at scale.
InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.