samoscon / controller-framework
MVC controller Framework based on book of M. Zandstra PHP 8 Objects, Patterns, and Practise Resources
Installs: 39
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/samoscon/controller-framework
Requires
- symfony/mailer: ^7.0
README
MVC controller Framework based on book of M. Zandstra PHP 8 Objects, Patterns, and Practise Resources
Steps to deploy the basic framework in Apache2 web server with Oracle (or MariaDB) database running in a Linux environment:
-
Create a root folder for your project with the name [Your Name of the project root folder]
-
Execute in your project root folder "composer init". Add following dependencies to your composer.json:
"require": { "samoscon/controller-framework": "^1.0" }
-
Execute in your project root folder "composer install".
-
Copy the files and folders under ./vendor/samoscon/controller-framework/example/ to your root folder
-
Set-up a datebase with the DatabaseSetup.sql to set-up your members table
-
Update the ./config/app_options.ini file with your passwords and settings
-
Insert manually a first member with a [name], [email], role = "A", active = "1", subscriptionuntil = "2099-12-31" (no password required, as you will set-up a password during your first login) in your database
AND YOUR READY TO TEST AND DEVELOP YOUR OWN PROJECT