Skip to content
View byjg's full-sized avatar

Highlights

  • Pro

Block or report byjg

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. Markdown is supported. 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
byjg/README.md

João Gilberto Magalhães (JG)

Open source maintainer of the ByJG ecosystem — framework-free PHP components, Gluo, and DevOps tooling.


🧭 How I build

  • Keep it simple. If it's hard, it's wrong — pick the simplest thing that solves the real need.
  • No framework lock-in. Small, composable components you can use alone or together.
  • Real tests. Tests exist so the code can be refactored without fear.
  • Understand the tool. Use databases, HAProxy, and Docker the way they were designed, not around them.

🆕 What's new

Project What it does Links
Gluo Production-ready PHP REST API starter: a project you own, on an updatable core Docs · GitHub
Gluo for Laravel Connectors that bring the ByJG components into an existing Laravel app GitHub
Swagger Test Validate your REST API against its OpenAPI contract in your tests Docs · GitHub
Migration Framework-agnostic database migrations in pure SQL Docs · GitHub
EasyHAProxy HAProxy load balancing and TLS for Docker, Swarm and Kubernetes Site · Docs · GitHub

Full catalog: https://opensource.byjg.com


🤖 Ask your AI assistant

The whole ByJG documentation is available as an MCP server. Connect your assistant and it answers questions about the libraries, citing the page each answer came from.

{ "mcpServers": { "byjg-docs": { "url": "https://mcpdocs.byjg.com/mcp" } } }

More: https://opensource.byjg.com/docs/ai/mcpserver-byjg-docs/


🏗 Other projects I maintain

  • n8n-gitops — GitOps CLI for n8n Community Edition: version control and collaborative workflow development. Docs
  • DockNimbus — Self-hosted cloud platform for bare metal: Docker Swarm, K3s, MinIO and EasyHAProxy behind one REST API and CLI.

👤 Brief resume

  • Senior DevOps / Platform Engineer and Software Architect.
  • Design and operate high-availability, high-traffic platforms — betting, fintech, e-commerce, SaaS.
  • PHP, Python, Go, Bash · Docker, Kubernetes, Terraform, Pulumi, Ansible · AWS, DigitalOcean, Oracle Cloud, on-prem.

More on LinkedIn · Follow me on Mastodon.


💖 Supporting the work

These projects are maintained in my own time. If a ByJG library or tool saved you time or keeps your systems stable, GitHub Sponsors helps keep them maintained, tested, and documented.

Pinned Loading

  1. php-swagger-test php-swagger-test Public

    A set of tools for testing your REST calls based on the swagger documentation using PHPUnit

    PHP 104 35

  2. php-migration php-migration Public

    Simple library writen in PHP without framework dependancy for database version control. Supports Sqlite, MySql, Sql Server and Postgres

    PHP 165 28

  3. php-micro-orm php-micro-orm Public

    A micro framework for create a very simple decoupled ORM (sqlite, mysql, postgres, sqlserver)

    PHP 20 3

  4. jquery-sse jquery-sse Public

    jQuery Plugin for Server-Sent Events (SSE) EventSource Polyfill

    JavaScript 50 17

  5. php-jwt-session php-jwt-session Public

    JwtSession is a PHP session replacement. Instead of use FileSystem, just use JWT TOKEN. The implementation follow the SessionHandlerInterface.

    PHP 51 13

  6. How to Paste code to NoVNC. How to Paste code to NoVNC.
    1
    // This will open up a prompt for text to send to a console session on digital ocean
    2
    //  Useful for long passwords
    3
    (function () {        
    4
        window.sendString = function (str) {
    5
            f(str.split(""));