PHPackages                             krisanalfa/hero - 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. krisanalfa/hero

ActiveFramework[Framework](/categories/framework)

krisanalfa/hero
===============

Micro framework for your landing page.

0.0.2(10y ago)09MITPHP

Since Apr 28Pushed 10y agoCompare

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

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

Hero
====

[](#hero)

Hero is a web application skeleton in flavor of Laravel. Hero is a Lightweight version of Laravel application. Purpose of this skeleton is simplifying Laravel so you can use them for a simple lightweight website.

Features
--------

[](#features)

Hero works almost like Laravel but in `minified source` as it only contains:

- Elixir
- Mailer
- Caching
- Routing
- Templating (Blade)

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

[](#installation)

Follow this simple guide to use Hero as your application skeleton.

```
composer create-project krisanalfa/hero my-app --prefer-dist
cd my-app

# below is used when you want to see a landing page of Hero
npm install # have a relax, grab a coffee
bower install # almost there
gulp # preparing assets
php -S 127.0.0.1:8000 -t public/ # open your browser at http://localhost:8000
```

Error Handling
--------------

[](#error-handling)

To handle an exception, you may create your own custom exception handler. For example if you want to handle `ModelNotFoundException`, you may create an exception handler in `src/Hero/Exceptions/Handlers` with classname `ModelNotFoundExceptionHandler`. Hero exception handler expect your exception handler has one method name `handle`. Below is the example:

```
namespace Hero\Exceptions\Handlers;

use Illuminate\Database\Eloquent\ModelNotFoundException;

class ModelNotFoundExceptionHandler
{
    public function handle(ModelNotFoundException $e)
    {
        // Do something ...
    }
}
```

For real example read `Hero\Exceptions\Handlers\NotFoundHttpExceptionHandler`.

> **Note:** You may change this exception handler behavior in `Hero\Exceptions\Handler` class.

TODO
----

[](#todo)

- Artisan
- Migration

License
-------

[](#license)

Copyright (c) 2016 Krisan Alfa Timur

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

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

Every ~0 days

Total

2

Last Release

3664d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5585ab7e83e92b16ebfde64d7d90ff330721bcb1fbfa193fb0ffe149a4b3a7d1?d=identicon)[krisanalfa](/maintainers/krisanalfa)

---

Top Contributors

[![krisanalfa](https://avatars.githubusercontent.com/u/3734729?v=4)](https://github.com/krisanalfa "krisanalfa (3 commits)")

### Embed Badge

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

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

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M531](/packages/laravel-passport)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)

PHPackages © 2026

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