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

ActiveLibrary[Framework](/categories/framework)

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 today

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 41% 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

3369d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9825?v=4)[Pedro Faria](/maintainers/pedrofaria)[@pedrofaria](https://github.com/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

[laravel/framework

The Laravel Framework.

34.8k532.1M19.4k](/packages/laravel-framework)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k246.0M11.1k](/packages/symfony-framework-bundle)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[laravel/reverb

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

1.6k12.9M74](/packages/laravel-reverb)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19664.8M1.6k](/packages/drupal-core)[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.7k16.2k47](/packages/elgg-elgg)

PHPackages © 2026

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