Skip to content

Repository files navigation

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.

Latest Stable VersionCIcodecov


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/.

About

An MVW PHP micro framework

Resources

Contributing

Stars

60 stars

Watchers

11 watching

Forks

Releases

Packages

Used by

Contributors

Languages