Francesca Framework

modern and lightest PHP framework developed with for developers

Francesca Framework is in beta version

You can download it but documentation is under costruction...
I'm so sorry! Here you are a starter guide... come back soon for complete docs!

Features

Francesca Framework is a modern and lightest MVC php framework that helps you quickly write powerful and secure web apps and APIs.

extremely easy to learn and use
friendly and commented construction
multihost configurations and apps manager
MVC http routing
classes autoloader
singleton classes pattern
native middlewares support
native restFULL support
native PDO MySql and Sqlite support
native PSR-4 support
PHP 7.0 => requirment
only 350kb files size
simple drag and drop into FTP install

Requirements

All you need is a Linux VPS / hosting with Apache webserver and PHP version 7.0 or above

Internal "data" class (useful to manage databases) requires PDO php_pdo_sqlite and php_pdo_mysql extension and MySql Server.

Download

Francesca Framework is release under MIT licence and you can fork or download last version in Github project page.

Download Now

Installation

Install via SSH/Git

You can install Francesca Framework via SSH with this Git CLI cloning the last version of the repo directly in your public root folder.

$ git clone https://github.com/andreapollastri/francesca.io.git
Install via FTP/SFTP

You can install Francesca Framework via FTP/SFTP uploading the last version of the repo directly in your public root folder.

Configuration

Permission

Francesca Framework requires 755 permission on folders and 664 on files.

You can setup correctly you webserver with these CLI.

$ sudo find /path/to/your/root/ -type f -exec chmod 644 {} \;
$ sudo find /path/to/your/root/directory -type d -exec chmod 755 {} \;

To solve user permission problems you can try to reassign user permissions.

$ sudo chown -R www-data:www-data /path/to/your/root/
Cron Jobs

For any Francesca Framework internal task you have to confing a main cron (cron.php) to every minute period.

***** /usr/bin/php  /path/to/your/root/cron.php &> /dev/null

Basic concepts

Francesca is a complete PHP framework for apps, websites and apis development.

It's based on MVC and singleton patterns and it supports third parts vendors and multihost requests in the same installation.

In Francesca Framework there are also different modes to make every single app in mantenience, preview, golive, gooffline and debug mode.

Framework supplies in every point of the framework one global array costant (fra_var) with every configuration var and one multiobject global var ($fra) with every class and function.