PHPackages                             sitegear/sitegear - 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. [Framework](/categories/framework)
4. /
5. sitegear/sitegear

ActiveLibrary[Framework](/categories/framework)

sitegear/sitegear
=================

Sitegear Website Framework

038PHP

Since Apr 17Pushed 13y ago2 watchersCompare

[ Source](https://github.com/sitegearphp/Sitegear)[ Packagist](https://packagist.org/packages/sitegear/sitegear)[ RSS](/packages/sitegear-sitegear/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Sitegear
========

[](#sitegear)

Sitegear is an extensible, configurable and modular website management application.

Sitegear consists of a website framework and a set of integrated content management tools. It is aimed primarily at websites based on owner-driven driven content. One of the primary driving goals is to reduce development time for these types of websites specifically. For more dynamic, user-driven websites, please consider an MVC framework.

Modules
-------

[](#modules)

Sitegear is modular, allowing unlimited possibilities for extensibility. There are several core modules, which are always available. Higher level functionality is found in extension modules.

Each module may serve one or more specific purposes:

- Container for entities
- Provider of controller methods and related view scripts
- Provider of client-side resources (JavaScript, CSS, etc)
- Provider of user management tools

Customisation
-------------

[](#customisation)

Sitegear is highly configurable, directly via a config file mechanism. This means that much of the application's behaviour can be modified by changing some (well-documented!) settings. Configuration can also be applied on a per-environment basis. This is useful, for example, to test and demonstrate a mail form without spamming the "real" target email address, while knowing that in production, the correct email address will be used.

View scripts provided by modules can also be very easily overridden, by providing a site-specific view script with the relevant filename (and path). This allows for further customisation as the entire markup can be modified.

DSL
---

[](#dsl)

Sitegear features a simple yet powerful Domain Specific Language for view scripts. This provides access to a range of functionality using a structured call pattern:

```

```

Where `foo` is either the name of a module, or one of several special "pseudo-module" specifiers, and `bar` is the name of a target within the specified module.

Arguments can also be passed as described below.

### Decorators

[](#decorators)

The first (module) call's arguments are decorators. These can take many forms but at their simplest they are a string containing only the name of the decorator. There are several built-in decorators, and you can add your own. The following example adds a wrapper element which marks the block as editable by the content management tools:

```

```

Decorators can also be applied using the `decorate()` method. The following call is equivalent to the one above:

```

```

Decorators can also take arguments. These can be passed in string form or array form. The following to calls are equivalent, they both wrap the block in a `li` element:

```

```

### Target Controllers

[](#target-controllers)

The second (method) call's arguments are passed to a component controller. This acts similarly to the main (page) controller action method, but with a restricted scope. For example the following would pass a string and an integer to the component controller method.

```

```

The arguments passed must match the target controller's expectations. Note that the `View` object and the `Request`object can be passed automatically using type hinting detection.

Foundation Technologies
-----------------------

[](#foundation-technologies)

The Sitegear application is based on:

- PHP 5.3
- Composer
- Symfony Components
- Doctrine
- PSR-3 compatible logging interfaces
- Unit testing with PhpUnit

The available modules provide integrations with a range of services, including:

- Google Analytics
- Google Maps
- SwiftMailer
- MailChimp

The content management tools operate in the web browser, and are based on:

- jQuery and jQueryUI
- (some wysiwyg editor, unsure which one yet)
- (some file browser, unsure which one yet)

Unit Tests
----------

[](#unit-tests)

Unit test coverage is in progress, but all tests should pass. To run the tests:

```
composer install --dev
phpunit

```

Further Information
-------------------

[](#further-information)

For more information, see the website:

Available under MIT open source license. See the LICENSE for details.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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/6999e5f7fb7165cece474edebec1287abe3ca6dbf7a69de3641595b825d2e03d?d=identicon)[leftclick](/maintainers/leftclick)

---

Top Contributors

[![leftclickben](https://avatars.githubusercontent.com/u/94266?v=4)](https://github.com/leftclickben "leftclickben (528 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

712181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)[laravel/pail

Easily delve into your Laravel application's log files directly from the command line.

91545.3M590](/packages/laravel-pail)

PHPackages © 2026

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