PHPackages                             abollinger/bricolo - 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. abollinger/bricolo

ActiveLibrary

abollinger/bricolo
==================

A set of functionalities to manage the building of a partez app

v1.6.4(1y ago)03442MITPHP

Since Mar 8Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Antoine-Bollinger/bricolo)[ Packagist](https://packagist.org/packages/abollinger/bricolo)[ RSS](/packages/abollinger-bricolo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (47)Used By (2)

Bricolo
=======

[](#bricolo)

**Bricolo** is a PHP command-line utility library that provides tools for managing databases, running servers, and enhancing PHP framework functionality. With features like dynamic port assignment and color-coded output, Bricolo is designed to simplify and automate server setup, database management, and terminal output styling.

Features
--------

[](#features)

- **CLI Server Management**: Easily launch a local PHP server, with dynamic port adjustment if a port is occupied.
- **Database Management**: Run queries and manage database connections from the command line.
- **Color-Coded Output**: Add color to terminal outputs for enhanced readability.
- **Framework Agnostic**: Designed to work with any PHP environment or as a standalone utility.

 **Table of Contents**1. [Installation](#installation)
2. [Usage](#usage)
    - [Viewing Help Information](#viewing-help-information)
    - [Launching a Local Server](#launching-a-local-server)
    - [Database Management](#database-management)
    - [Page Creation](#page-creation)
    - [Color-Coded CLI Output](#color-coded-cli-output)
3. [Example Command](#example-command)
4. [Contributing](#contributing)
5. [Contact](#contact)

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

[](#installation)

Install the last version via [Composer](https://getcomposer.org/):

```
composer require abollinger/bricolo
```

Then you can call the functions by typing:

```
php vendor/bin/bricolo functionName
```

**Note**

We strongly recommand to add a file named `bricolo` (without extension) at the route of your project, with the following content:

```
#!/usr/bin/env php
