booosta / installer
Installer for the Booosta PHP Framework
v4.0.6
2024-10-09 13:04 UTC
Requires
- php: >=8.0.0
- booosta/adminlte: ^4.0
- booosta/db_authenticator: ^4.0
- booosta/db_privileges: ^4.0
- booosta/mysqli: ^4.0
- booosta/urlhandler: ^4.0
- booosta/usersystem: ^4.0
- booosta/webapp-package: ^4.0
README
This module provides all the installation steps for PHP Booosta.
Booosta allows to develop PHP web applications quick. It is mainly designed for small web applications. It does not provide a strict MVC distinction. Although the MVC concepts influence the framework. Templates, data objects can be seen as the Vs and Ms of MVC.
Up to version 3 Booosta was available at Sourceforge: https://sourceforge.net/projects/booosta/. From version 4 on it resides on Github and is installable from Packagist under buzanits/booosta-installer
. Sorry, there will be no (easy) upgrade path from Booosta 3 to Booosta 4.
Installation
Requirements
- PHP >= 8.0
- composer >= 2.3
Installation of Booosta is done with composer. If you don't have composer installed, see https://getcomposer.org. - Mysql or MariaDB
- mysqli PHP module
- Use of .htaccess must be enabled in Webserver
In Apache config use something likeAllowOverride all
Install your Booosta App
- If you want to use a Mysql or MariaDB database set it up togehter with a user that can access it.
#> composer create-project booosta/installer mycoolproject
#> cd mycoolproject
#> composer letsgo
- Then you answer some questions about your database connection
- You can install additional Booosta modules with
#> composer require booosta/modulename
- Let the web root on your web server point to this directory (
mycoolproject
in this example)
Create your Application
- Create the DB tables for your data with your favorite tools (like phpmyadmin)
- Create the PHP and template files for every table with
#> composer mkfiles
- Enter the name of the table you want the files to be created for
- If there is a subtable or supertable enter their name or leave the answer empty
- Edit the PHP files and templates to your need
- Be aware that calling the mkfiles command will overwrite existing files!
Tutorial
See the tutorial at https://github.com/buzanits/booosta-installer/blob/master/tutorial/tutorial.md