PHPackages                             pedrofaria/hope - 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. pedrofaria/hope

ActiveLibrary

pedrofaria/hope
===============

Hope microframework

1.0.0(9y ago)412PHPPHP &gt;=5.6.4

Since Apr 9Pushed 9y ago1 watchersCompare

[ Source](https://github.com/pedrofaria/hope)[ Packagist](https://packagist.org/packages/pedrofaria/hope)[ RSS](/packages/pedrofaria-hope/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (6)Versions (3)Used By (0)

Hope
====

[](#hope)

Hope is a very lightweight PHP microframework.

Check a [example of Hope application](https://github.com/pedrofaria/hope-test-app/tree/develop)

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

[](#installation)

`$ composer require pedrofaria/hope`

---

Usage
-----

[](#usage)

Very simple usage of Hope microframework.

```
$app = new Hope\Application;

$app->setRoute(function(Hope\Router\RouteCollector $route) {
    $route->add('GET', '/ping', function() {
        return ['data' => 'pong'];
    });
});

$app->bootstrap();
$app->run();
```

And that's it!

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

[](#documentation)

Check the [Wiki with all Hope documentation](https://github.com/pedrofaria/hope/wiki).

Running Tests
-------------

[](#running-tests)

Codeception was chosen on this project to support all tests. To run, use the command below:

`$ vendor/bin/codecept run unit`

If you want run with code coverage, use the follow command and the HTML report will be available at `tests/_output/coverage`.

`$ vendor/bin/codecept run unit --coverage --coverage-html`

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3318d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a91cab1916533ee199909714983e226eff095b46a061c91553fb9fd3df0e34f?d=identicon)[pedrofaria](/maintainers/pedrofaria)

---

Top Contributors

[![pedrofaria](https://avatars.githubusercontent.com/u/9825?v=4)](https://github.com/pedrofaria "pedrofaria (41 commits)")

---

Tags

microframeworkphp

###  Code Quality

TestsCodeception

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[laravel/reverb

Laravel Reverb provides a real-time WebSocket communication backend for Laravel applications.

1.5k9.4M48](/packages/laravel-reverb)[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k4](/packages/elgg-elgg)[api-platform/http-cache

API Platform HttpCache component

223.2M7](/packages/api-platform-http-cache)

PHPackages © 2026

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