# Bootgly | Base PHP Framework for Multi Projects

**URL:** <https://onehack.st/t/bootgly-base-php-framework-for-multi-projects/289010>\
**Category:** Tools & Scripts\
**Tags:** programming, hosting\
**Created:** [August 15, 2024, 7:40pm UTC](https://onehack.st/t/bootgly-base-php-framework-for-multi-projects/289010 "2024-08-15T19:40:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prometheus](https://onehack.st/user_avatar/onehack.st/prometheus/32/34950_2.png) [@Prometheus](https://onehack.st/u/Prometheus)\
**Post date:** [August 15, 2024, 7:40pm UTC](https://onehack.st/t/bootgly-base-php-framework-for-multi-projects/289010/1 "2024-08-15T19:40:00Z")

</div>

[![bootgly-logo|120pxx120px](https://github.com/bootgly/.github/raw/main/favicon-temp1-128.png)](https://github.com/bootgly/.github/raw/main/favicon-temp1-128.png)

# Bootgly

_Base PHP Framework for Multi Projects._

[![Github Actions - Bootgly Workflow](https://camo.githubusercontent.com/2d305a8d359b0e8d1f1428d28a1f4782db1b87e9a127b268647da1cdd4216e0c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f626f6f74676c792f626f6f74676c792f626f6f74676c792e796d6c3f6c6162656c3d426f6f74676c79) ![Github Actions - Docker Workflow](https://camo.githubusercontent.com/14f1156cb4f2614825e2520ae3aa9d18edc09a080881446d05a0d19686013c53/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f626f6f74676c792f626f6f74676c792f646f636b65722e796d6c3f6c6162656c3d446f636b6572) ![Github Actions - PHPStan Workflow](https://camo.githubusercontent.com/ca47acede9520ee75ad0ad758e1b702fff2e915152078111b8f6501092709fe8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f626f6f74676c792f626f6f74676c792f7068707374616e2e796d6c3f6c6162656c3d5048505374616e)  
  ![Bootgly License](https://camo.githubusercontent.com/50393ded2873cf1d00f78f783bc5cfa68115cb209ac0f651b266e712a77263c8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f626f6f74676c792f626f6f74676c79)](https://packagist.org/packages/bootgly/bootgly)

> Bootgly is the first PHP framework to use the [I2P (Interface-to-Platform) architecture](https://docs.bootgly.com/manual/Bootgly/basic/architecture/overview).

Note

Bootgly will be completely refactored to use “Property Hooks” and v1.0 will be released only after PHP 8.4 is released.

Warning

🚧 DO NOT USE IT IN PRODUCTION ENVIRONMENTS. 🚧

Bootgly is in beta testing. A major version (1.0) is soon to release.

[Documentation is under construction](https://docs.bootgly.com/).

## Table of Contents

- [🤔 About](https://github.com/bootgly/bootgly#-about)
- [🟢 Boot Requirements](https://github.com/bootgly/bootgly#-boot-requirements)
  - [🤝 Compatibility](https://github.com/bootgly/bootgly#-compatibility)
  - [⚙ Dependencies](https://github.com/bootgly/bootgly#%EF%B8%8F-dependencies)

- [🌱 Community](https://github.com/bootgly/bootgly#-community)
  - [💻 Contributing](https://github.com/bootgly/bootgly#-contributing)
  - [🛂 Code of Conduct](https://github.com/bootgly/bootgly#-code-of-conduct)
  - [🔗 Social Networks](https://github.com/bootgly/bootgly#-social-networks)
  - [💖 Sponsorship](https://github.com/bootgly/bootgly#-sponsorship)

- [🚀 Getting started](https://github.com/bootgly/bootgly#-getting-started)
- [🖼 Highlights](https://github.com/bootgly/bootgly#-highlights)
- [📃 License](https://github.com/bootgly/bootgly#-license)
- [📑 Versioning System](https://github.com/bootgly/bootgly#-versioning-system)

* * *

## 🤔 About

Bootgly is a base framework for developing APIs and Apps for both CLI (Console) 📟 and WPI (Web) 🌐.

> “Bootgly is focused on **efficiency** and follows a minimum dependency policy. Thanks to this approach, its **unique I2P architecture** , along with some uncommon code conventions and design patterns, allows Bootgly to offer **superior performance** while providing an **easy-to-understand Code APIs**.”

### Bootgly CLI 📟

> Command Line Interface

- Interface: [CLI](https://github.com/bootgly/bootgly/tree/main/Bootgly/CLI/)
- Platform: [Console](https://github.com/bootgly/bootgly-console) (TODO)

For the base CLI development, Bootgly already has the following UI Components: [Alert](https://github.com/bootgly/bootgly/tree/main/Bootgly/CLI/Terminal/components/Alert), [Fieldset](https://github.com/bootgly/bootgly/tree/main/Bootgly/CLI/Terminal/components/Fieldset), [Header](https://github.com/bootgly/bootgly/tree/main/Bootgly/CLI/components/Header.php), [Menu](https://github.com/bootgly/bootgly/tree/main/Bootgly/CLI/Terminal/components/Menu), [Progress](https://github.com/bootgly/bootgly/tree/main/Bootgly/CLI/Terminal/components/Progress), [Table](https://github.com/bootgly/bootgly/tree/main/Bootgly/CLI/Terminal/components/Table).

### Bootgly WPI 🌐

> Web Programming Interface

- Interface: [WPI](https://github.com/bootgly/bootgly/tree/main/Bootgly/WPI/)
- Platform: [Web](https://github.com/bootgly/bootgly-web) (IN DEVELOPMENT)

For the base Web development, Bootgly has a [HTTP Server CLI](https://github.com/bootgly/bootgly/blob/main/Bootgly/WPI/Nodes/HTTP_Server_CLI.php), a [TCP Client CLI](https://github.com/bootgly/bootgly/blob/main/Bootgly/WPI/Interfaces/TCP_Client_CLI.php) and a [TCP Server CLI](https://github.com/bootgly/bootgly/blob/main/Bootgly/WPI/Interfaces/TCP_Server_CLI.php).

More news may come until the release of v1.0. Stay tuned.

* * *

[![](https://camo.githubusercontent.com/2f0317adbee7122ad7675fd6691766e0a6165510563511c3c334ac46a088d5e2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4241434b5f544f5f544f502d3135313531353f7374796c653d666c61742d737175617265)](https://github.com/bootgly/bootgly#readme-top)

## 🟢 Boot Requirements

### 🤝 Compatibility

Operation System  
✅ Linux (Debian based)  
❌ Windows  
❔ Unix

–

✅ = Compatible

❌ = Incompatible

❔ = Untested

Above is the native compatibility, of course it is possible to run on Windows and Unix using Docker containers.

### ⚙ Dependencies

- PHP 8.2+ ⚠
- Opcache + JIT enabled (+50% performance) 👍

#### - Bootgly CLI 📟

- `php-cli` ⚠
- `php-mbstring` ⚠
- `php-readline` ⚠

#### - Bootgly WPI 🌐

- `rewrite` module enabled ⚠

–

⚠ = Required

👍 = Recommended

* * *

[![](https://camo.githubusercontent.com/2f0317adbee7122ad7675fd6691766e0a6165510563511c3c334ac46a088d5e2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4241434b5f544f5f544f502d3135313531353f7374796c653d666c61742d737175617265)](https://github.com/bootgly/bootgly#readme-top)

## 🌱 Community

Join us and help the community.

**Love Bootgly? Give [our repo](https://github.com/bootgly/bootgly/) a star ⭐!**

### 💻 Contributing

Wait for the “contributing guidelines” to start your contribution.

#### 🛂 Code of Conduct

Help us keep Bootgly open and inclusive. Please read and follow our [Code of Conduct](https://github.com/bootgly/bootgly/blob/main/.github/CODE_OF_CONDUCT.md).

### 🔗 Social networks

- Bootgly on **LinkedIn** : [[Company Page](https://www.linkedin.com/company/bootgly/)]
- Bootgly on **Telegram** : [[Telegram Group](https://t.me/bootgly/)]
- Bootgly on **Reddit** : [[Reddit Community](https://www.reddit.com/r/bootgly/)]
- Bootgly on **Discord** : [[Discord Channel](https://discord.com/invite/SKRHsYmtyJ/)]

### 💖 Sponsorship

A lot of time and energy is devoted to Bootgly projects. To accelerate your growth, if you like this project or depend on it for your stack to work, consider [sponsoring it](https://github.com/sponsors/bootgly/).

Your sponsorship will keep this project always **up to date** with **new features** and **improvements** / **bug fixes**.

* * *

[![](https://camo.githubusercontent.com/2f0317adbee7122ad7675fd6691766e0a6165510563511c3c334ac46a088d5e2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4241434b5f544f5f544f502d3135313531353f7374796c653d666c61742d737175617265)](https://github.com/bootgly/bootgly#readme-top)

## 🚀 Getting started

### 📟 Bootgly CLI

Run Bootgly CLI demo

1. ``
2. ``

Setup Bootgly CLI globally  
Perform Bootgly tests

1. ``

### 🌐 Bootgly WPI

Running a HTTP Server

1. ``

2. ``

3. ``

4. ``

5. ``

**[Routing HTTP Requests on the Server-side](https://docs.bootgly.com/manual/WPI/HTTP/HTTP_Server_Router/overview)**

* * *

[![](https://camo.githubusercontent.com/2f0317adbee7122ad7675fd6691766e0a6165510563511c3c334ac46a088d5e2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4241434b5f544f5f544f502d3135313531353f7374796c653d666c61742d737175617265)](https://github.com/bootgly/bootgly#readme-top)

## 🖼 Highlights

### - Bootgly CLI 📟

[![](https://github.com/bootgly/.github/raw/main/screenshots/bootgly-php-framework/Bootgly-CLI.png "Bootgly CLI - initial output")](https://github.com/bootgly/.github/raw/main/screenshots/bootgly-php-framework/Bootgly-CLI.png)  
_Bootgly CLI - initial output_

* * *

[![](https://github.com/bootgly/.github/raw/main/screenshots/bootgly-php-framework/Bootgly-CLI-Terminal-components-Progress.png "Render 7x faster than Laravel / Symfony")](https://github.com/bootgly/.github/raw/main/screenshots/bootgly-php-framework/Bootgly-CLI-Terminal-components-Progress.png)  
_Progress component (with Bar) - [Render ≈7x faster than Laravel / Symfony](https://github.com/bootgly/bootgly_benchmarks/tree/main/Progress_Bar)_

### - Bootgly WPI 🌐

[![](https://github.com/bootgly/.github/raw/main/screenshots/bootgly-php-framework/Server-CLI-HTTP-Benchmark-Ryzen-9-3900X-WSL2.png "Bootgly HTTP Server CLI (wrk benchmark) - +7% faster than Workerman in the Plain Text test")](https://github.com/bootgly/.github/raw/main/screenshots/bootgly-php-framework/Server-CLI-HTTP-Benchmark-Ryzen-9-3900X-WSL2.png)  
_Bootgly HTTP Server CLI (wrk benchmark) - +7% faster than [Workerman](https://www.techempower.com/benchmarks/#section=data-r21&test=plaintext&l=zik073-6bj) in the [Plain Text test](https://github.com/TechEmpower/FrameworkBenchmarks/wiki/Project-Information-Framework-Tests-Overview#plaintext)_

* * *

[![](https://github.com/bootgly/.github/raw/main/screenshots/bootgly-php-framework/Bootgly-WPI-Nodes-HTTP-Server-CLI.png "Bootgly HTTP Server CLI - started in Monitor mode")](https://github.com/bootgly/.github/raw/main/screenshots/bootgly-php-framework/Bootgly-WPI-Nodes-HTTP-Server-CLI.png)  
_HTTP Server CLI - started in `monitor` mode_

More **Screenshots** , videos and details can be found in the home page of [Bootgly Docs](https://docs.bootgly.com/).

* * *

[![](https://camo.githubusercontent.com/2f0317adbee7122ad7675fd6691766e0a6165510563511c3c334ac46a088d5e2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4241434b5f544f5f544f502d3135313531353f7374796c653d666c61742d737175617265)](https://github.com/bootgly/bootgly#readme-top)

## 📃 License

The Bootgly is open-sourced software licensed under the [MIT license](https://opensource.org/license/mit/).

* * *

## 📑 Versioning System

Bootgly uses [Semantic Versioning 2.0](https://semver.org/).

## GitHub:

[https://github.com/bootgly/bootgly](https://github.com/bootgly/bootgly)
