Search for a command to run...
Fast, free, and open-source HTML5 game framework for building 2D games that run in desktop and mobile web browsers. Provides WebGL and Canvas rendering with a unified API, built-in physics engines, asset loading, animation systems, and input handling across keyboard, gamepad, mouse, and touch.
Phaser is commercially maintained by Phaser Studio alongside a large open-source community, with over 11 years of active development. Thousands of games have been shipped with it, from prototypes to titles reaching millions of players. Compared to general-purpose graphics libraries like PixiJS, Phaser is purpose-built for games with integrated physics, scene management, and game-object tooling. Its API is beginner-friendly while scaling to complex projects, and it works across over 40 front-end frameworks including React, Vue, and Angular.
Key capabilities:
Phaser fits indie developers and studios building browser games, playable ads, and casual web titles. Developers use it with JavaScript or TypeScript, Vite or Webpack, and integrate it into React or Vue apps. The framework ships via npm, CDN, or a create-game CLI, and offers hundreds of examples plus an online sandbox for rapid iteration.