Bootgly
Base PHP Framework for Multi Projects.
Table of Contents
π€ About
Bootgly is a base framework for developing APIs and Apps for both command-line interfaces (CLI)
π
Bootgly CLI interfaces | nodes |
---|---|
Terminal Input | Console (TODO) |
Terminal Output |
Terminal components |
---|
Alert component |
Menu component |
Progress component |
Table component |
π
Bootgly Web interfaces | nodes |
---|---|
TCP Client | HTTP Server |
TCP Server |
π’ Boot
π€ Compatibility
Operation System |
---|
--
Above is the native compatibility, of course it is possible to run on Windows and Unix using containers.
βοΈ Dependencies
- PHP 8.2+
β οΈ - Opcache with JIT enabled (+50% performance)
π
π
- Bootgly CLI php-cli
β οΈ php-readline
β οΈ
π
- Bootgly Web CLI + Web *API ΒΉ (eg. Bootgly HTTP Server CLI):
- * See Bootgly CLI dependencies *
Web in Non-CLI (apache2handler, litespeed and nginx) SAPI Β²:
rewrite
module enabledβ οΈ
--
ΒΉ *API = Can be Server API (SAPI), Client API (CAPI), etc. Β² SAPI = Server API
π± Community
Join us and help the community.
Love Bootgly? Give our repo 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.
π Social networks
π 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.
Your sponsorship will keep this project always up to date with new features and improvements / bug fixes.
π Compliances
π License
The Bootgly is open-sourced software licensed under the MIT license.
π Versioning
Bootgly will follow Semantic Versioning 2.0.
πΌ Highlights
π
- Bootgly CLI ![]() |
---|
Progress component (with Bar) - Render 6x faster than Symfony / Laravel |
π
- Bootgly Web ![]() |
---|
HTTP Server CLI - +7% faster than Workerman (Plain Text test) |
More Screenshots, videos and details can be found in the home page of Bootgly Docs.
π§ Usage
π :
- Bootgly CLI Run CLI demo
- See the examples in
projects/Bootgly/CLI/examples/
; - Check the file
projects/CLI.constructor.php
; - Run the Bootgly CLI demo in terminal:
php bootgly demo
π :
- Bootgly Web Running a HTTP Server:
Option 1: Non-CLI SAPI (Apache, LiteSpeed, Nginx, etc)
- Enable support to
rewrite
; - Configure the Web constructor in
projects/Web.constructor.php
file; - Run the Non-CLI HTTP Server pointing to
index.php
.
Option 2: CLI SAPI
Directly in Linux OS (max performance):
- Configure the Bootgly HTTP Server script in
scripts/http-server-cli
file; - Configure the HTTP Server API in
projects/HTTP-Server.API.php
file; - Run the Bootgly HTTP Server CLI in the terminal:
php scripts/http-server-cli
--
or using Docker:
- Pull the image:
docker pull bootgly/http-server-cli
- Run the container in interactive mode and in the host network for max performance:
docker run -it --network host bootgly/http-server-cli