https://github.com/twigphp/Twig
php template-engine template-language templating twig
Score: 36.2999647739083
Last synced: 1 day ago
JSON representation
Repository metadata:
Twig, the flexible, fast, and secure template language for PHP
- Host: GitHub
- URL: https://github.com/twigphp/Twig
- Owner: twigphp
- License: bsd-3-clause
- Created: 2009-10-07T21:23:38.000Z (about 17 years ago)
- Default Branch: 3.x
- Last Pushed: 2026-10-25T07:03:55.000Z (9 days ago)
- Last Synced: 2026-10-25T13:41:13.070Z (8 days ago)
- Topics: php, template-engine, template-language, templating, twig
- Language: PHP
- Homepage: https://twig.symfony.com/
- Size: 13.4 MB
- Stars: 8,374
- Watchers: 207
- Forks: 1,288
- Open Issues: 54
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG
- License: LICENSE
- Security: .github/SECURITY.md
-
Funding:
- Github: fabpot
- Tidelift: packagist/twig/twig
- Custom: https://symfony.com/cloud/, https://live.symfony.com/, https://certification.symfony.com/
Owner metadata:
- Name: Twig
- Login: twigphp
- Email:
- Kind: organization
- Description:
- Website: https://twig.symfony.com
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/5296178?v=4
- Repositories: 16
- Last Synced at: 2026-10-29T12:42:45.608Z
- Profile URL: https://github.com/twigphp
GitHub Events
Total
- Commit comment event: 5
- Create event: 24
- Delete event: 7
- Fork event: 62
- Issue comment event: 708
- Issues event: 133
- Pull request event: 391
- Pull request review comment event: 452
- Pull request review event: 436
- Push event: 363
- Watch event: 256
- Total: 2837
Last Year
- Create event: 4
- Fork event: 5
- Issue comment event: 57
- Issues event: 20
- Pull request event: 37
- Pull request review comment event: 52
- Pull request review event: 55
- Push event: 99
- Watch event: 19
- Total: 348
Committers metadata
Last synced: 1 day ago
Total Commits: 5,201
Total Committers: 526
Avg Commits per committer: 9.888
Development Distribution Score (DDS): 0.325
Commits in past year: 325
Committers in past year: 45
Avg Commits per committer in past year: 7.222
Development Distribution Score (DDS) in past year: 0.222
| Name | Commits | |
|---|---|---|
| Fabien Potencier | f****r@g****m | 3511 |
| fabien | f****n@9****b | 174 |
| Nicolas Grekas | n****s@g****m | 81 |
| Derick Rethans | g****b@d****l | 77 |
| Christian Flothmann | c****n@q****m | 56 |
| Martin Hasoň | m****n@g****m | 54 |
| Tobias Schultze | w****r@t****e | 54 |
| Arnaud Le Blanc | a****b@g****m | 52 |
| Christophe Coevoet | s****f@n****g | 44 |
| nikic | +****@n****m | 36 |
| Ruud Kamphuis | r****k | 33 |
| SpacePossum | p****e@g****m | 32 |
| Mark Story | m****k@m****m | 32 |
| Jordi Boggiano | j****o@s****e | 31 |
| Simon André | s****e@g****m | 28 |
| Tugdual Saunier | t****r@g****m | 21 |
| Jérôme Tamarelle | j****e@t****t | 20 |
| Vincent Langlet | v****t@h****r | 20 |
| Javier Eguiluz | j****z@g****m | 19 |
| Grégoire Pineau | l****x@l****o | 17 |
| Thomas Landauer | t****s@l****t | 17 |
| Charles | c****1@u****d | 16 |
| Alexander M. Turek | m****e@d****e | 14 |
| Oskar Stark | o****k@g****m | 11 |
| Joseph Bielawski | s****d@g****m | 11 |
| nikic | n****v@g****m | 9 |
| Yonel Ceruto | y****o@g****m | 9 |
| Alexandre Daubois | a****s@g****m | 9 |
| Matthias Pigulla | m****p@w****e | 8 |
| Jérémy Derussé | j****y@d****m | 8 |
| and 496 more... | ||
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 347
Total pull requests: 1,285
Average time to close issues: 12 months
Average time to close pull requests: about 1 month
Total issue authors: 248
Total pull request authors: 154
Average comments per issue: 4.55
Average comments per pull request: 1.51
Merged pull request: 975
Bot issues: 0
Bot pull requests: 4
Past year issues: 35
Past year pull requests: 149
Past year average time to close issues: 8 days
Past year average time to close pull requests: 3 days
Past year issue authors: 25
Past year pull request authors: 29
Past year average comments per issue: 2.66
Past year average comments per pull request: 0.99
Past year merged pull request: 116
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- ericmorand (16)
- tacman (10)
- smnandre (7)
- Kocal (6)
- piscesCat (6)
- fabpot (6)
- m-vo (5)
- ruudk (5)
- javiereguiluz (5)
- ThomasLandauer (5)
- drjayvee (4)
- seb-jean (3)
- TLG-Gildas (3)
- iquito (3)
- alinnert (3)
Top Pull Request Authors
- fabpot (584)
- ruudk (88)
- xabbuh (73)
- smnandre (65)
- nicolas-grekas (39)
- derrabus (30)
- FlorianChenot (29)
- stof (27)
- VincentLanglet (26)
- ThomasLandauer (12)
- drjayvee (12)
- GromNaN (11)
- jdreesen (10)
- seb-jean (10)
- Kocal (8)
Top Issue Labels
- Investigate before 4.x (20)
- Markdown (6)
- operator precedence (3)
- Bug (2)
- Website (2)
- Macros (1)
Top Pull Request Labels
- dependencies (4)
- Markdown (4)
- Bug (1)
Package metadata
- Total packages: 5
-
Total downloads:
- packagist: 506,140,798 total
- Total docker downloads: 806,416,720
- Total dependent packages: 5,794 (may contain duplicates)
- Total dependent repositories: 131,830 (may contain duplicates)
- Total versions: 1,353
- Total maintainers: 1
- Total advisories: 24
packagist.org: twig/twig
Twig, the flexible, fast, and secure template language for PHP
- Homepage: https://twig.symfony.com
- Licenses: BSD-3-Clause
- Latest release: v3.30.0 (published about 1 month ago)
- Last Synced: 2026-11-01T12:18:55.830Z (1 day ago)
- Versions: 252
- Dependent Packages: 5,794
- Dependent Repositories: 131,829
- Downloads: 506,140,798 Total
- Docker Downloads: 806,416,720
-
Rankings:
- Dependent packages count: 0.005%
- Downloads: 0.022%
- Dependent repos count: 0.029%
- Average: 0.03%
- Docker downloads count: 0.037%
- Stargazers count: 0.04%
- Forks count: 0.045%
- Maintainers (1)
-
Funding:
- url: https://github.com/fabpot: type: github
- url: https://tidelift.com/funding/github/packagist/twig/twig: type: tidelift
-
Advisories:
- Twig: Sandbox filter, tag and function allow-list bypass when sandbox state changes between renders for a cached `Template`
- Twig: Sandbox property allowlist bypass via the `column` filter under `SourcePolicyInterface`
- Twig: Sandbox `__toString()` policy bypass via `Traversable` in `join` and `replace` filters
- Twig: Sandbox `__toString()` policy bypass via dynamic mapping keys
- Twig: Sandbox state regression in deprecated internal wrappers in `src/Resources/core.php`
- Twig: Sandbox: multiple `__toString()` policy bypasses via unguarded string coercion points
- Twig: XSS in profiler HtmlDumper via unescaped template and profile names
- Twig: Possible sandbox bypass when using a source policy
- Twig: Arbitrary PHP code execution via `_self.(<string>)` macro-reference compilation
- Twig: Sandbox property and method bypass via object-destructuring assignment
- Twig: `{% sandbox %}{% include %}` skips checkSecurity() on cached templates (incomplete fix for CVE-2024-45411)
- Twig: Sandbox property allowlist bypass via the `column` filter (array_column on objects)
- Twig: `template_from_string()` escapes a SourcePolicy-driven sandbox via synthesized template name
- Twig: PHP code injection via `{% use %}` template name
- Twig: The `spaceless` filter implicitly marks its output as safe
- Twig security issue where escaping was missing when using null coalesce operator
- Twig has unguarded calls to `__isset()` and to array-accesses when the sandbox is enabled
- Twig has unguarded calls to `__toString()` when nesting an object into an array
- Twig has a possible sandbox bypass
- Twig Path Traversal vulnerability in the filesystem loader
- Twig may load a template outside a configured directory when using the filesystem loader
- Twig remote code execution in templates
- Twig Sandbox Information Disclosure
- Code injection in Twig
proxy.golang.org: github.com/twigphp/Twig
- Homepage:
- Documentation: https://pkg.go.dev/github.com/twigphp/Twig#section-documentation
- Licenses: bsd-3-clause
- Latest release: v3.30.0+incompatible (published about 1 month ago)
- Last Synced: 2026-10-31T16:31:27.946Z (2 days ago)
- Versions: 275
- Dependent Packages: 0
- Dependent Repositories: 1
-
Rankings:
- Forks count: 0.738%
- Stargazers count: 0.743%
- Average: 3.682%
- Dependent repos count: 4.794%
- Dependent packages count: 8.453%
proxy.golang.org: github.com/Twigphp/Twig
- Homepage:
- Documentation: https://pkg.go.dev/github.com/Twigphp/Twig#section-documentation
- Licenses: bsd-3-clause
- Latest release: v3.30.0+incompatible (published about 1 month ago)
- Last Synced: 2026-10-31T16:31:36.027Z (2 days ago)
- Versions: 275
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 4.262%
- Average: 4.408%
- Dependent repos count: 4.553%
proxy.golang.org: github.com/twigphp/twig
- Homepage:
- Documentation: https://pkg.go.dev/github.com/twigphp/twig#section-documentation
- Licenses: bsd-3-clause
- Latest release: v6.0.6+incompatible (published over 4 years ago)
- Last Synced: 2026-10-31T16:31:25.846Z (2 days ago)
- Versions: 276
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.732%
- Forks count: 0.734%
- Average: 4.686%
- Dependent packages count: 7.917%
- Dependent repos count: 9.361%
proxy.golang.org: github.com/TwigPhp/twig
- Homepage:
- Documentation: https://pkg.go.dev/github.com/TwigPhp/twig#section-documentation
- Licenses: bsd-3-clause
- Latest release: v3.30.0+incompatible (published about 1 month ago)
- Last Synced: 2026-10-31T16:31:18.530Z (2 days ago)
- Versions: 275
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 4.568%
- Average: 4.721%
- Dependent repos count: 4.875%
Dependencies
- psr/container ^1.0 development
- symfony/phpunit-bridge ^4.4.9|^5.0.9|^6.0 development
- php >=7.2.5
- symfony/polyfill-ctype ^1.8
- symfony/polyfill-mbstring ^1.3