PHPackages                             fluxoft/rebar-base - 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. fluxoft/rebar-base

ActiveProject[Framework](/categories/framework)

fluxoft/rebar-base
==================

A barebones starter project for app using the Rebar framework.

1.1(1y ago)04MITPHP

Since Jan 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/fluxoft/rebar-base)[ Packagist](https://packagist.org/packages/fluxoft/rebar-base)[ RSS](/packages/fluxoft-rebar-base/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Rebar Base App
==============

[](#rebar-base-app)

**Rebar Base App** is a barebones starter project for building applications with the [Rebar framework](https://github.com/fluxoft/rebar). It provides a minimal implementation to help you quickly get started with Rebar, including basic routing, an example controller, and an optional SQLite-based example for managing data.

Features
--------

[](#features)

- Minimal setup for building with Rebar.
- Example route (`/`) and controller (`Hello`) to get started.
- Optional SQLite database example with seed data.
- Easy extensibility for creating custom controllers, services, mappers, and models.

Folder Structure
----------------

[](#folder-structure)

```
rebar-base/
├── app/                  # Bootstrapping and configuration scripts.
│   ├── bootstrap.php     # Application bootstrap script.
│   ├── container.php     # Dependency injection container.
│
├── src/                  # PSR-4 namespace root for application logic.
│   ├── Controllers/      # Example controllers.
│   └── Models/           # Example models.
│
├── data/                 # Example SQLite database (optional).
│   └── rebarbase.db      # Example SQLite database file.
│
├── public/               # Publicly accessible directory.
│   └── index.php         # Entry point for the application.
│
├── setup/                # Setup scripts for initializing the example project.
│   ├── seed.php          # Script to seed the example SQLite database.
│   └── README.md         # Instructions for using the setup scripts.
│
├── vendor/               # Composer-managed dependencies (auto-generated).
└── composer.json         # Project dependencies and configuration.

```

Getting Started
---------------

[](#getting-started)

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

[](#installation)

To get started, you can create a new project using Composer:

```
composer create-project fluxoft/rebar-base my-app
```

Alternatively, you can clone this repository and install the dependencies:

```
git clone https://github.com/fluxoft/rebar-base.git my-app
cd my-app
composer install
```

### Initial Setup

[](#initial-setup)

If you installed this project via Composer, the setup scripts (e.g., for seeding the example SQLite database) will run automatically.

For manual installations or additional details about the setup scripts, refer to [setup/README.md](setup/README.md).

### Running the Application

[](#running-the-application)

You can serve the application locally using PHP's built-in server:

```
php -S localhost:8000 -t public
```

Visit  in your browser to see the example app in action.

Extending the App
-----------------

[](#extending-the-app)

The Rebar Base App is designed to be a starting point. You can extend it by adding:

- **Controllers**: Add custom controllers to handle new routes.
- **Models and Mappers**: Integrate your database logic.
- **Services**: Create reusable application services.

Refer to the [Rebar documentation](https://github.com/fluxoft/rebar) for guidance.

Cleanup
-------

[](#cleanup)

If you do not need the example project, you can delete the `data/` and `setup/` folders after installation.

Contributing
------------

[](#contributing)

Contributions are welcome! Feel free to open issues or submit pull requests to improve the project.

License
-------

[](#license)

This project is licensed under the MIT License. See the `LICENSE` file for details.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance42

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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 ~15 days

Total

2

Last Release

484d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3df4d2f0ef34e8622d4170927803fab601792b0735a24cbf6de028285d56a1fb?d=identicon)[fluxoft](/maintainers/fluxoft)

---

Top Contributors

[![joe-hart](https://avatars.githubusercontent.com/u/2655238?v=4)](https://github.com/joe-hart "joe-hart (11 commits)")

---

Tags

phpframeworkstarterrebar

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fluxoft-rebar-base/health.svg)

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

###  Alternatives

[fluxoft/rebar

Rebar: A simple but sturdy support framework.

2137.9k2](/packages/fluxoft-rebar)

PHPackages © 2026

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