PHPackages                             silverorange/swat - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. silverorange/swat

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

silverorange/swat
=================

Web application toolkit.

7.9.4(7mo ago)48.6k16[2 PRs](https://github.com/silverorange/swat/pulls)LGPL-2.1PHPPHP &gt;=8.2CI passing

Since Apr 17Pushed 3mo ago13 watchersCompare

[ Source](https://github.com/silverorange/swat)[ Packagist](https://packagist.org/packages/silverorange/swat)[ Docs](https://github.com/silverorange.com/swat)[ RSS](/packages/silverorange-swat/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (7)Versions (109)Used By (0)

Swat
====

[](#swat)

Swat is a web application component toolkit.

Swat is an open-source [LGPL 2.1](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt)web-application toolkit built using [PHP](https://www.php.net/). It is primarily developed and maintained by [silverorange](https://www.silverorange.com), but participation and contributions are welcome.

Swat is *not* a full-stack web framework. Swat is an interface toolkit analogous to \[Gtk\]( Gtk), but for web applications instead of native applications. Read about [why Swat was created](https://github.com/silverorange/swat/wiki/History).

Documentation
-------------

[](#documentation)

- [Simple Example](https://github.com/silverorange/swat/wiki/Simple-Example)

Features
--------

[](#features)

- object-oriented PHP 5 code
- simplifies the process of building and maintaining functional user interfaces for web applications
- generates standards-compliant XHTML output with flexible CSS hooks
- relies on CSS for layout and styling
- provides comprehensive and extensible error checking for forms

Installation
------------

[](#installation)

Make sure the silverorange composer repository is added to the `composer.json`for the project and then run:

```
composer require silverorange/swat
```

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance73

Regular maintenance activity

Popularity27

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity92

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 54% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~43 days

Recently: every ~51 days

Total

106

Last Release

219d ago

Major Versions

2.10.0 → 3.0.02017-07-24

3.3.0 → 4.0.02018-04-12

4.0.2 → 5.0.02018-11-01

5.4.1 → 6.0.02022-04-21

6.1.5 → 7.0.02023-01-31

PHP version history (5 changes)1.4.136PHP &gt;=5.1.5

2.9.0PHP &gt;=5.6.0

7.0.0PHP &gt;=8.0.0

7.1.0PHP &gt;=8.1.0

7.9.1PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/9106d3aa95caf8d17dde19a665e2110aad639d24ef85f152e0afcf6f3b49c111?d=identicon)[gauthierm](/maintainers/gauthierm)

---

Top Contributors

[![gauthierm](https://avatars.githubusercontent.com/u/120511?v=4)](https://github.com/gauthierm "gauthierm (2891 commits)")[![nrfredrickson](https://avatars.githubusercontent.com/u/4965439?v=4)](https://github.com/nrfredrickson "nrfredrickson (757 commits)")[![nburka](https://avatars.githubusercontent.com/u/1284966?v=4)](https://github.com/nburka "nburka (580 commits)")[![sgarrity](https://avatars.githubusercontent.com/u/58062?v=4)](https://github.com/sgarrity "sgarrity (384 commits)")[![keithburgoyne](https://avatars.githubusercontent.com/u/299928?v=4)](https://github.com/keithburgoyne "keithburgoyne (233 commits)")[![isagrant](https://avatars.githubusercontent.com/u/49716?v=4)](https://github.com/isagrant "isagrant (194 commits)")[![charleswaddell](https://avatars.githubusercontent.com/u/1316827?v=4)](https://github.com/charleswaddell "charleswaddell (189 commits)")[![cviebrock](https://avatars.githubusercontent.com/u/166810?v=4)](https://github.com/cviebrock "cviebrock (74 commits)")[![Qcode](https://avatars.githubusercontent.com/u/1542145?v=4)](https://github.com/Qcode "Qcode (15 commits)")[![GervaisdeM](https://avatars.githubusercontent.com/u/963514?v=4)](https://github.com/GervaisdeM "GervaisdeM (11 commits)")[![pparke](https://avatars.githubusercontent.com/u/5822990?v=4)](https://github.com/pparke "pparke (10 commits)")[![wittman](https://avatars.githubusercontent.com/u/101092?v=4)](https://github.com/wittman "wittman (5 commits)")[![charlesp1138](https://avatars.githubusercontent.com/u/4965608?v=4)](https://github.com/charlesp1138 "charlesp1138 (3 commits)")[![m-mitchell](https://avatars.githubusercontent.com/u/169674?v=4)](https://github.com/m-mitchell "m-mitchell (3 commits)")[![stephendesroches](https://avatars.githubusercontent.com/u/59362?v=4)](https://github.com/stephendesroches "stephendesroches (3 commits)")[![malena](https://avatars.githubusercontent.com/u/190703?v=4)](https://github.com/malena "malena (1 commits)")[![kendraSO](https://avatars.githubusercontent.com/u/38441080?v=4)](https://github.com/kendraSO "kendraSO (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![wen-2018](https://avatars.githubusercontent.com/u/42974891?v=4)](https://github.com/wen-2018 "wen-2018 (1 commits)")[![marjmandi](https://avatars.githubusercontent.com/u/47076521?v=4)](https://github.com/marjmandi "marjmandi (1 commits)")

---

Tags

widgettoolkitswat

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/silverorange-swat/health.svg)

```
[![Health](https://phpackages.com/badges/silverorange-swat/health.svg)](https://phpackages.com/packages/silverorange-swat)
```

###  Alternatives

[romka-chev/yii2-swiper

Yii2 extension for Swiper slider

1840.6k](/packages/romka-chev-yii2-swiper)[coldtrick/widget_manager

Manage your widgets

214.3k](/packages/coldtrick-widget-manager)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
