Download the PHP package fluxoft/rebar-base without Composer
On this page you can find all versions of the php package fluxoft/rebar-base. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package rebar-base
Rebar Base App
Rebar Base App is a barebones starter project for building applications with the Rebar framework. 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
- 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
Getting Started
Installation
To get started, you can create a new project using Composer:
Alternatively, you can clone this repository and install the dependencies:
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.
Running the Application
You can serve the application locally using PHP's built-in server:
Visit http://localhost:8000 in your browser to see the example app in action.
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 for guidance.
Cleanup
If you do not need the example project, you can delete the data/
and setup/
folders after installation.
Contributing
Contributions are welcome! Feel free to open issues or submit pull requests to improve the project.
License
This project is licensed under the MIT License. See the LICENSE
file for details.