# Matter.js

> MIT 2D rigid-body physics, not a Phaser replacement

**Category:** Libraries  
**Pricing:** open-source  
**URL:** https://brm.io/matter-js  
**GitHub:** https://github.com/liabru/matter-js  
**Added:** 2026-09-03

---

## The Hook

Matter.js is the 2D physics engine Phaser already vendors — grab it when you are not on Phaser.

## What's Good

MIT. 2D rigid bodies, constraints, collisions, sleeping. Drop next to PixiJS, KAPLAY, or a raw canvas. Docs and demos at brm.io/matter-js.

## The Catch

Loud: Phaser already ships Matter physics. If you are on Phaser, you already have this. This gem is for Pixi/KAPLAY/canvas, not a second physics stack inside Phaser. Distinct from Phaser (full engine) and howler.js (audio sprites).

## Verdict

The MIT 2D rigid-body lib. Use it off Phaser; on Phaser you already have Matter.
