Skip to content
View dg's full-sized avatar
🏠
Working from home
🏠
Working from home

Sponsors

@solcik
@austinkregel
@Boxscape
@stepapo
@Marian-Kechlibar

Sponsoring

@mesour

Organizations

@nette

Block or report dg

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
dg/README.md

I write open source PHP libraries. The biggest of them is Nette, the rest started as "I just need this for one small thing".

Nette

  • 🧩 Nette Framework – a family of PHP libraries that work on their own and together make a full framework for web applications.
  • 😎 Tracy – the addictive PHP debugger. Once you see an error in Tracy, you will not want to see it any other way.
  • β˜• Latte – the only truly secure templates for PHP. Context-aware escaping stops XSS where other engines let it through.
  • 🍏 Tester – unit testing you will actually enjoy. Tests are plain PHP scripts, and they run in parallel.

…and many more Nette libraries.

Libraries

  • πŸ‘” DressCode – fixes your coding style and upgrades your code to newer PHP. It touches only what it must.
  • 🌳 PhpSyntax – a syntax tree of PHP that gives your file back byte for byte.
  • πŸ€– AI Access – OpenAI, Claude, Gemini and others behind one clean interface. Switch providers with one line.
  • πŸ“œ Texy – text to HTML with typography a typesetter would approve of. Always valid, always safe.
  • πŸ’½ Dibi – the database layer for people who like SQL. You write the SQL, placeholders do the boring part.

Small tools

  • 🚚 FTP Deployment – deploys only what changed and switches it in at once. Your site is never half-updated.
  • πŸ”“ BypassFinals – removes final and readonly, so you can mock anything in tests.
  • πŸ“₯ IMAP – your mail code keeps working although PHP 8.4 removed the imap extension. Pure PHP.
  • 🐬 MySQL Dump – backs up and restores MySQL from PHP, even where mysqldump is not available.

davidgrudl.com

If my code saves you time, you can sponsor my work. Thank you, it is the reason this list keeps getting longer.

Pinned Loading

  1. nette/latte nette/latte Public

    β˜• Latte: the safest & truly intuitive templates for PHP. Engine for those who want the most secure PHP sites.

    PHP 1.3k 114

  2. nette/tracy nette/tracy Public

    😎 Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it.

    PHP 1.8k 216

  3. bypass-finals bypass-finals Public

    Removes `final` and `readonly` keywords from source code on-the-fly and allows mocking of final methods and classes. It can be used together with any test tool such as PHPUnit or Mockery.

    PHP 582 34

  4. nette/php-generator nette/php-generator Public

    🐘 Generates neat PHP code for you. Supports new PHP 8.5 features.

    PHP 2.3k 144

  5. ai-access ai-access Public

    A flexible PHP library providing access to various AI models (OpenAI, Claude, Gemini, DeepSeek and Grok) via a consistent interface.

    PHP 69 5

  6. dresscode dresscode Public

    πŸ‘” DressCode: checks and fixes PHP coding style, and upgrades code to newer PHP and to new versions of libraries. Built on a lossless syntax tree, so it changes only what it touches. PER-CS, PSR-12,…

    PHP 22 3