Skip to content

Latest commit

 

History

History

en

Micro Framework

Resources in this application:

  • Support to PHP 5.5 - 8.1 (usint respective ribafs/simplest-version)
  • Namespace with PSR-4 and composer.
  • MySQL
  • PostgreSQL
  • php-cli scripts to migrations and seeder
  • Patterns Front Controller and Singleton
  • Search
  • PDO
  • Bootstrap 5.2
  • Script to mysql backup in bin folder php bin/backupDb

Third-party packages

  • Migrations and seeders with Phinx e Faker Restaurant
  • Ignition handler error

Install this example

  • Copy en folder to /var/www/html or c:\xampp\htdocs with wanted name
  • Create database in mysql
  • Configure in config.php
  • Execute:

composer install

sh migrate.sh

Access

http://localhost/micro-framework

Adjusts

Now adjust microframework code structure to new database: controllers, models, views, etc.