- MVC Architecture
- Supports MariaDB and SQLite
- Simple Authentication
- All licenses are MIT at the time of writing (Dec. 2022)
This is a PHP PSR-4 Framework - www.php-fig.org/psr/psr-4/
To craft PHP applications you need this style of Framework
This is a Model-View-Controller Application in PHP
It:
- Creates an entry point
- Loads php scripts as required
- Calls a Controller
- Models data
- Displays a View
- Create a composer file
{
"license": "MIT",
"minimum-stability": "dev",
"autoload": {
"psr-4": {
"": "src/app"
}
},
"require": {
"bravedave/esse": "dev-main"
}
}
- update to install files
composer u
- install a sample application
mkdir src
cp -r vendor/bravedave/esse/src/app src/app
cp -r vendor/bravedave/esse/www .
- Run
cd www
php -S localhost:8080 _mvp.php
the program will run, but there are no users or database
- a data folder was created in src/data
- rename the esse-defaults-sample.json to esse-defaults.json - activates SQLite as the database
- create a user in users with a password
- logoff
- authentication is now required
dive into the app folder and build your app ! etc .. etc..
- Bootstrap
- JQuery
- Monolog
- Matthias Mullie minify and scrapbook
- Symfony Mailer
- Parsedown
- and whatever libraries these libraries required