The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 23 PHP Twig Projects
-
Grav
Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS powered by PHP, Markdown, Twig, and Symfony
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
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)
-
Slugify
Converts a string to a slug. Includes integrations for Symfony, Silex, Laravel, Zend Framework 2, Twig, Nette and Latte.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
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.
-
media-bundle
MediaBundle is a media file manager bundle for Symfony with a REST API and an admin interface (React)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: Ask HN: What products other than Obsidian share the file over app philosophy? | news.ycombinator.com | 2024-04-03There are flat-file CMSes (content management systems) like Grav: https://getgrav.org/
I guess, in some vague/broad sense, config-as-code systems also implement something similar? Maybe even OpenAPI schemas could count to some degree...?
In the old days, the "semantic web" movement was an attempt to make more webpages both human- and machine-readable indefinitely by tagging them with proper schema: https://en.wikipedia.org/wiki/Resource_Description_Framework. Even Google was on board for a while, but I guess it never saw much uptake. As far as I can tell it's basically dead now, both because of non-semantic HTML (everything as a React div), general laziness, and LLMs being able to parse things loosely.
-------------
Side thoughts...
Philosophically, I don't know that capturing raw data alone as files is really sufficient to capture the nuances of any particular experience, or the overall zeitgeist of an era. You can archive Geocities pages, but that doesn't really capture the novelty and indie-ness of that era. Similarly, you can save TikTok videos, but absent the cultural environment that created them (and a faithful recreation of the recommendation algorithm), they wouldn't really show future archaeologists how teenagers today lived.
I worked for a natural history museum for a while, and while we were there, one of the interesting questions (well, to me anyway) was whether our web content was in and of itself worth preserving as a cultural artifact -- both so that future generations can see what exhibits were interesting/apropos for the cultures of our times, but also so they could see how our generation found out about those exhibitions to begin with (who knows what the Web will morph into 50 years later). It wasn't enough to simply save the HTML of our web pages, both because they tie into various other APIs and databases (like zoological collections) and because some were interactive experiences, like games designed to be played with a mouse (before phones were popular), or phone chatbots with some of our specimens. To really capture the experience authentically would've required emulating not just our tech stacks and devices, among other things.
Like for the earlier Geocities example, sure you could just save the old HTML and render it with a modern browser, but that's not the same as something like https://oldweb.today/?browser=ns3-mac#http://geocities.com/ , which emulates the whole OS and browser too. And that still isn't the same as having to sit in front of a tiny CRT and wait minutes for everything to download over a 14.4k modem, only to be interrupted when mom had to make a call.
I guess that's a longwinded of critiquing "file over app": It only makes sense for things that are originally files/documents to begin with. Much of our lives now are not flat docs but "experiences" that take much more thought and effort to archive. If the goal is truly to preserve that posterity, it's not enough to just archive their raw data, but to develop ways to record and later emulate entire experiences, both technological and cultural. It ain't easy!
Miscommunication in our projects is costly. A single misunderstood User Story can result in 3 days of wasted development time. Additionally, when developers do not use the same programming language, it may be necessary to construct APIs to facilitate communication, which can also be expensive. It is important to consider why front-end developers may be hesitant to work with Twig and how this can lead to a disconnect between front-end and back-end development.
Use Timber for templating https://github.com/timber/timber
I'm cooking up a really cheap publishing solution using Pico CMS ("stupidly simple") and rsync or something from my Obsidian Vault to my PHP server.
The most typical approach is having a CMS admin panel sit somewhere on the server; everyone with an account uses this. This is a very convenient approach, especially when working with a team. This way, many people can work on different articles simultaneously without worrying about potential conflicts or overwriting stuff. The only con is related to security - everyone can try to get inside, and if you forget to update our CMS or some user have a weak password, it can be someone outside of our team. WordPress, Drupal, CraftCMS, or Ghost are perfect examples of such CMSs.
This is the next generation of Bolt.
Project mention: Chyrp Lite – An Ultra-Lightweight Tumblelogging Engine Using PHP and SQLite | news.ycombinator.com | 2024-03-12
Project mention: YouTube is now testing a "three-strikes" policy for adblockers | /r/privacy | 2023-07-01Try rehike old YouTube layout with built-in adblocker https://github.com/Rehike/Rehike
PHP Twig related posts
-
Bolt VS core - a user suggested alternative
2 projects | 13 Apr 2024
- How to integrate Component Architecture into Symfony?
- XSS Attack - Why strip_tags is not enough
- Modern Plugin Boilerplate - GIT + PHP8 + Composer
- Custom sites vs WordPress sites?
- Php career guide
- JSON Data to HTML Table
-
A note from our sponsor - WorkOS
workos.com | 25 Apr 2024
Index
What are some of the best open-source Twig projects in PHP? This list will help you:
Project | Stars | |
---|---|---|
1 | Grav | 14,291 |
2 | Twig | 8,015 |
3 | timber | 5,431 |
4 | Bolt | 4,154 |
5 | Pico | 3,791 |
6 | CraftCMS | 3,156 |
7 | Slugify | 2,846 |
8 | starter-theme | 799 |
9 | Chamilo LMS | 750 |
10 | ec-cube | 733 |
11 | Bolt 5 Core | 528 |
12 | Spress | 375 |
13 | MtHaml | 362 |
14 | Chyrp Lite | 364 |
15 | Twig-View | 345 |
16 | twigcs | 331 |
17 | Rehike | 178 |
18 | yoyo | 174 |
19 | ux-twig-component | 139 |
20 | media-bundle | 48 |
21 | sprig | 42 |
22 | query-monitor-twig-profile | 27 |
23 | footnotes | 21 |
Sponsored