PHPackages                             blakvghost/bravo - 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. blakvghost/bravo

ActiveProject

blakvghost/bravo
================

Bravo is a personal project, a mini MVC framework in PHP that I developed while drawing the best points from Laravel, Symfony and the Node.js side. I like simplicity, so I decided to make a simple product. For the moment, I manage the Route, the middlewares, the CORS, the easy sending of mails, as well as a mini ORM.

1.1.3(2y ago)4101MITPHPPHP ^8.0

Since May 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/BlakvGhost/Bravo)[ Packagist](https://packagist.org/packages/blakvghost/bravo)[ RSS](/packages/blakvghost-bravo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (7)Used By (0)

Bravo
=====

[](#bravo)

Bravo is a personal project, a mini MVC framework in PHP that I developed while drawing the best points from Laravel, Symfony and the Node.js side. I like simplicity, so I decided to make a simple product. For the moment, I manage the Route, the middlewares, the CORS, the easy sending of mails, as well as a mini ORM.

[![Packagist Version (custom server)](https://camo.githubusercontent.com/6b10c10cf8dcaf872a7cb692c46204fad90888feed4b7b8b31e08f6623c499b9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f426c616b7667686f73742f427261766f3f6c6162656c3d737461626c65)](https://camo.githubusercontent.com/6b10c10cf8dcaf872a7cb692c46204fad90888feed4b7b8b31e08f6623c499b9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f426c616b7667686f73742f427261766f3f6c6162656c3d737461626c65)[![Packagist Version (custom server)](https://camo.githubusercontent.com/cdcf774f6219b193d44401aa07e7aadfca33fdeb1d9324315588961715036754/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f426c616b7667686f73742f427261766f3f6c6162656c3d4c6963656e6365)](https://camo.githubusercontent.com/cdcf774f6219b193d44401aa07e7aadfca33fdeb1d9324315588961715036754/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f426c616b7667686f73742f427261766f3f6c6162656c3d4c6963656e6365)[![Packagist Version (custom server)](https://camo.githubusercontent.com/5b5ec197f9daeb3fed8ea110747a85eb3f6f2db9cdf27f03972b872c833112df/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f426c616b7667686f73742f427261766f3f6c6162656c3d646f776e6c6f6164)](https://camo.githubusercontent.com/5b5ec197f9daeb3fed8ea110747a85eb3f6f2db9cdf27f03972b872c833112df/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f426c616b7667686f73742f427261766f3f6c6162656c3d646f776e6c6f6164)

Documentation
-------------

[](#documentation)

Documentation for Bravo is being prepared and will be available soon. Stay tuned for updates! For the moment refer to the documentation or the source code of the [Framework Core (Juste)](https://github.com/BlakvGhost/Juste).

How to use
----------

[](#how-to-use)

To see an example of using Bravo, you can refer to the [Bravo-mailer](https://github.com/BlakvGhost/bravo-mailer) project. It serves as a demonstration project and will have official documentation soon.

Requirements
------------

[](#requirements)

- PHP 8.0 or higher
- [blakvghost/juste](https://packagist.org/packages/blakvghost/juste) package (version 2.0 or higher)

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

[](#installation)

To install Bravo, you can either go through composer or through github

### composer

[](#composer)

1. Create the project with composer

```
composer create-project blakvghost/bravo
```

### github

[](#github)

1. Clone the project repository from GitHub by running the following command:

```
git clone https://github.com/BlakvGhost/Bravo.git
```

2. After cloning the repository, navigate to the project directory:

```
cd Bravo
```

3. Install the project dependencies by running the following command:

```
composer install
```

4. Once the dependencies are installed, you can start using Bravo in your PHP project.

By cloning the project repository, you will have the complete Bravo framework and all its dependencies available in your project directory. This allows you to customize and extend Bravo according to your needs.

Please note that you will need to have Git and Composer installed on your system for this installation method to work.

If you encounter any issues during the installation process, please make sure to check the project's documentation or reach out to the project's author for support

Start Server
------------

[](#start-server)

For the moment use the php server by following these steps:

1. Make sure you have php &gt;= 8.0 and have php in your session environment variables for Windows users
2. Open your terminal or command prompt in the project directory:

```
cd
```

3. start php server on public folder:

```
php -s -S localhost:8000 -t ./public
```

3. Open your browser and head to `localhost:8000` or change the port

Usage Examples
--------------

[](#usage-examples)

### Routing

[](#routing)

```
