Download the PHP package azonmedia/guzaba-platform without Composer
On this page you can find all versions of the php package azonmedia/guzaba-platform. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download azonmedia/guzaba-platform
More information about azonmedia/guzaba-platform
Files in azonmedia/guzaba-platform
Package guzaba-platform
Short Description A plugin based platform for creating applications
License MIT
Homepage https://github.com/AzonMedia/guzaba-platform
Informations about the package guzaba-platform
Guzaba Platform
Introduction
GuzabaPlatform is a plugin based system for building applications ranging from presentational websites to corporate applications. It is the testbed for the Guzaba 2 Framework. It uses Vue.js for the frontend.
Deployment in containers
There is a docker-compose file with preset environment variables available at ./app/dockerfiles/GuzabaPlatformDev/.
Before the application is started it needs to be deployed on the host system in an empty directory with:
This will install GuzabaPlatform and run the GuzabaPlatformInstaller package that will create the needed directories & files in the root of the project. While the GuzabaPlatform depends on PHP 8.0 and Swoole these requirements are not enforced in the composer.json file as it needs to be possible to bootstrap the application from any environment and the applicattion will be always started in a container which already contains everything needed.
To deploy the application in containers execute:
This will start the following containers:
- swoole (in interactive mode) on port 8081
- redis on port 6379 (exported for debug purpose)
- mysql on port 3306 (exported for debug purpose)
- phpmyadmin on port 8085
- phpredisadmin on port 8086
The login for phpmyadmin is "root" : "somerootpass".
The login for phpredisadmin is "admin" : "admin".
NOTE - on first run: On the first start of the application the database needs to be imported in MySQL. This can be done through phpmyadmin or directly over the exposed port 3306. The database dump is available at ./app/database/guzaba2.sql.
After the containers are started there will be no application running yet on port 8081. This needs to be started manually. To get into the container:
If the above command produces an error this is most probably related to the container name. It may differ. To find the correct name list all the running containers with:
NOTE - on first run: The front end needs to be compiled - inside the container execute:
There is no need to set up local configuration in the ./app/registry because the environment file contains all the needed variables.
To start the application inside the container do:
Direct application startup
There is also a docker-compose file allowing the application to be started along with the other containers (instead of starting the swoole container in interactive mode):
Manual install
Change the settings in your so you can connect to the MySQL and to the Redis server.
Documentation
The complete documentation is available at Guzaba Platform Documentation.
Directory structure
- app - the Guzaba Platform application
- vendor - Composer dependencies
All versions of guzaba-platform with dependencies
guzaba/guzaba2 Version dev-master
slim/psr7 Version ^1.1.0
guzaba-platform/components-base Version dev-master
azonmedia/vue-router Version dev-master
psr/log Version ^1.1
monolog/monolog Version ^2.0@dev
firebase/php-jwt Version dev-master
symfony/var-exporter Version ^5.0@dev
symfony/console Version ^5.0@dev
composer/composer Version ^1.10@dev
guzaba-platform/guzaba-platform-installer Version dev-master