PHPackages                             bootphp/loader - 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. bootphp/loader

ActiveLibrary

bootphp/loader
==============

PHP Web Application Pattern

0.0.0(8y ago)09341MITPHP

Since Jun 25Pushed 8y ago1 watchersCompare

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

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

loader
======

[](#loader)

Entry point for your core-php application

Now Entry point of your application would look something like this

##### index.php

[](#indexphp)

```
namespace app {

    use \bootphp\loader\Loader;
    use \bootphp\fn;

    include_once "lib/autoload.php";

    class Index extends Loader
    {
        public $title = "DEFAULT_TITLE";

        public function __construct()
        {
            // TODO: Something you want to do before I do something.
            fn::println("__construct");
            fn::println("Title in query is " . $this->title);
            fn::println("Title2 in query is " . $this->title2);
            fn::println("Title3 in query is " . $this->title3);
        }

        public function invoke($options)
        {
            // TODO: What you want to do?.
            // You can access all Query params here as instance properties like : $this->title
            fn::println("invoke");
            fn::println("Title in query is " . $this->title);
            fn::println("Title2 in query is " . $this->title2);
            fn::println("Title3 in query is " . $this->title3);
        }

        public function __destruct()
        {
            // Now evrything is done.
            // TODO: Something you want to do before i say goodbye.
        }

    }

    (new Index)();
    //OR (new Index())->execute();
}
```

Try this url with different values or no values

```
    http://localhost/index.php?title=lucas&title2=no&title3=yes
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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

3246d ago

### Community

Maintainers

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

---

Top Contributors

[![lnt](https://avatars.githubusercontent.com/u/5462166?v=4)](https://github.com/lnt "lnt (14 commits)")

---

Tags

php

### Embed Badge

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

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

PHPackages © 2026

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