The PHP Framework
For The Rule Breakers

Documentation

🚀 Thu 23rd January: New Trongate MX Docs are Live & Ready!

No Third-Party Dependencies No Rewrite Culture No Unnecessary Complexity

Blazing Fast Benchmarks

Trongate was built for speed. Until somebody proves otherwise, we're calling it the world's fastest PHP framework.

Rock Solid Stability

The Trongate framework improves continuously while maintaining stability, keeping your projects free from disruption.

Rich, Cohesive Ecosystem

Enjoy fast and seamless web development with Trongate's comprehensive suite of tools that accelerate your workflow.

Intuitive and Easy to Learn

Trongate offers an intuitive learning experience through its straightforward structure and clear documentation.

Zero Dependency Hassles

Third-party libraries can sometimes be great, but they will never be an integral part of the Trongate framework.

Active Community Support

Join Trongate's vibrant community of developers who share knowledge and collaborate on web applications.

Code Without Clutter

Write Less, Do More

Without looking at any documentation, can you guess what this code does?

function index() {
  $data['products'] = $this->model->get('products');
  $data['view_file'] = 'display';
  $this->template('public', $data);
}

function product($id) {
  $data['product'] = $this->model->get_where($id, 'products');
  $data['view_file'] = 'product';
  $this->template('public', $data);
}
class Store extends Trongate {
    
    function index() {
        $data['products'] = $this->model->get('products');
        $data['view_file'] = 'display';
        $this->template('public', $data);
    }

    function product($id) {
        $data['product'] = $this->model->get_where($id, 'products');
        $data['view_file'] = 'product';
        $this->template('public', $data);
    }
}

ANSWER: If you guessed that the above code has something to do with displaying products in an online store, then congratulations - you’re off to a fantastic start!

By the way... if type hinting, return types, doc blocks, and access modifiers are your thing, we’ve got you covered too! Trongate fully supports and embraces modern PHP syntax.

Discover more about Trongate's approach to syntax


A New Way to Share Code

Trongate offers developers a faster, smarter, and safer way to share PHP code – the first real alternative to Packagist.

Explore the Trongate Module Market and choose from a variety of pre-built modules crafted by our super talent community of PHP developers.

Check Out The Module Market

A Complete Web Development Ecosystem

What began as a lightweight PHP framework has evolved into something far more comprehensive, featuring a sophisticated JavaScript framework, CSS libraries, advanced file management, a graphical query builder and much more.

Thanks to Adam Spencer for donating these benchmark test results.

Help To Spread The Word

Trongate is free and open source. You're welcome to use it commercially. All we ask is, could you please give Trongate a star on GitHub?

1128 GitHub Stars

2000 target
1128
 
 
56%
872 to go

Each star encourages ongoing improvement and innovation!

×