PHPackages                             weblite/swete - 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. [Localization &amp; i18n](/categories/localization)
4. /
5. weblite/swete

ActiveProject[Localization &amp; i18n](/categories/localization)

weblite/swete
=============

Simple Website Translation Engine

15118[7 issues](https://github.com/shannah/swete/issues)PHPCI passing

Since Mar 13Pushed 5mo ago3 watchersCompare

[ Source](https://github.com/shannah/swete)[ Packagist](https://packagist.org/packages/weblite/swete)[ RSS](/packages/weblite-swete/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

SWeTE Server
============

[](#swete-server)

SWeTE (Simple Website Translation Engine) is an open source translation proxy written in PHP, using MySQL for its translation memory.

- [SWeTE Homepage](http://swete.weblite.ca)
- [Introductory Tutorial](docs/phparch_article/page.markdown) - (An article originally published in PHP Architect)
- [Users Guide](https://shannah.github.com/swete)

Quick Start (Docker)
--------------------

[](#quick-start-docker)

The easiest way to run SWeTE is with Docker:

```
git clone https://github.com/shannah/swete.git
cd swete
docker compose up
```

Then open  in your browser.

To use a different port:

```
SWETE_PORT=9090 docker compose up
```

To run multiple instances on the same machine, use different ports and project names:

```
SWETE_PORT=8080 docker compose -p swete1 up
SWETE_PORT=9090 docker compose -p swete2 up
```

### Environment Variables

[](#environment-variables)

VariableDefaultDescription`SWETE_PORT``8080`Host port for the web interface`DB_HOST``db`MySQL/MariaDB hostname`DB_NAME``swete`Database name`DB_USER``swete`Database user`DB_PASSWORD``swete`Database passwordManual Installation
-------------------

[](#manual-installation)

### Requirements

[](#requirements)

- PHP 7.0+
- MySQL 5+ or MariaDB 10+
- Apache 1.3+ with mod\_rewrite

See the [Users Guide](https://shannah.github.com/swete) for manual installation instructions.

License
-------

[](#license)

GPLv2

Credits
-------

[](#credits)

SWeTE Server is developed by [Web Lite Translation Corp.](http://translate.weblite.ca).

###  Health Score

21

—

LowBetter than 17% of packages

Maintenance40

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 Bus Factor1

Top contributor holds 94.5% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d7e97280d632c68997f78c2552fe2e5f93da0786aa4ed58d514f2e5fc9060091?d=identicon)[shannah](/maintainers/shannah)

---

Top Contributors

[![shannah](https://avatars.githubusercontent.com/u/2677562?v=4)](https://github.com/shannah "shannah (208 commits)")[![claude](https://avatars.githubusercontent.com/u/81847?v=4)](https://github.com/claude "claude (8 commits)")[![shannahcloudbeds](https://avatars.githubusercontent.com/u/107859565?v=4)](https://github.com/shannahcloudbeds "shannahcloudbeds (4 commits)")

### Embed Badge

![Health badge](/badges/weblite-swete/health.svg)

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

###  Alternatives

[smarty-gettext/smarty-gettext

Gettext plugin enabling internationalization in Smarty Package files

752.5M8](/packages/smarty-gettext-smarty-gettext)[devaslanphp/auto-translate

Auto generate translation JSON files

6627.3k](/packages/devaslanphp-auto-translate)

PHPackages © 2026

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