tipsyphp / tipsy
An MVW PHP framework
Requires
- php: >=8.3
Requires (Dev)
- phpunit/phpunit: ^11.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- v2.x-dev
- v2.0.0
- v0.11.12
- v0.11.11
- v0.11.10
- v0.11.9
- v0.11.8
- v0.11.7
- v0.11.6
- v0.11.5
- v0.11.4
- v0.11.3
- v0.11.2
- v0.11.1
- v0.11.0
- v0.10.3
- v0.10.2
- v0.10.1
- v0.10.0
- v0.9.0
- v0.8.0
- v0.7.3
- v0.7.2
- v0.7.1
- v0.7.0
- v0.6.8
- v0.6.7
- v0.6.6
- v0.6.5
- v0.6.4
- v0.6.3
- v0.6.2
- v0.6.1
- v0.6.0
- v0.5.0
- dev-analysis-qoRvZX
- dev-create-function-dep
- dev-php-warnings
- dev-release/v1.0.0
- dev-release/v2.0.0
This package is auto-updated.
Last update: 2026-09-07 07:19:41 UTC
README
Tipsy is an MVW (Model, View, Whatever) PHP micro framework inspired by AngularJS. It provides a very lightweight, easy to use interface for websites, REST APIs, and dependency injection.
Tipsy 2.0 targets PHP 8.3+ with a typed core, zero runtime Composer dependencies, and a PostgreSQL-first database layer (MySQL and SQLite still supported). See UPGRADING.md for breaking changes from 0.11.x.
Example Usage
See examples/ in this repo for runnable apps. See Documentation for more information.
index.php
$app->home(function($View) { $View->display('index', ['user' => 'crystal']); });
index.phtml
<h1>Hello <?=$user?></h1>
Installation
To install using composer use the command below. For additional installation information see Installation.
composer require tipsyphp/tipsy:^2.0
Development
composer install
composer test
CI runs PHP 8.3/8.4 × MySQL/PostgreSQL, then on master/main can open a GitHub prerelease (promote it to publish to Packagist). See docs/RELEASE.md. Performance notes live in benchmarks/.