An open API service indexing awesome lists of open source software.

https://github.com/andregalastri/galastri-framework

Simple PHP microframework for websites and webapps.
https://github.com/andregalastri/galastri-framework

brazil framework galastri galastri-framework microframework mvc oop php php-framework php-microframework

Last synced: 30 days ago
JSON representation

Simple PHP microframework for websites and webapps.

Awesome Lists containing this project

README

          

![Galastri Framework Logo](https://user-images.githubusercontent.com/49572917/112453870-df5b8700-8d36-11eb-9c31-0c3a628e5178.png)

# Galastri Framework
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/andregalastri/galastri-framework/blob/master/galastri/LICENSE)

## About
This is a simple PHP 7 microframework created as a study case to develop webapps and websites.

It is a MVC OOP microframework which I started to develop by studing more deeply how PHP works and how to apply design patters with it. My idea is to create a simple framework that is more oriented to people that are starting with MVC, OOP and frameworks in general, but powerful enough to be used in real projects.

**Disclaimer**

This is an early development project. This means that I can drastically change the way the framework works between every commit and without any warn. If you use the framework in real projects, it is a good idea to keep it stick with the version you are using, without updating it. If you do want to update to newer versions, do a backup before and be aware which changes were made.

## Features
- MySQL, PostgreSQL and SQLite **Database** classes with easy configuration and usage;
- Easy **routing control** with multiple parameters and configurations;
- Easy way to return data by just setting up which *output* will be used (View, JSON, File or Text);
- **Redirect** class that can use preconfigured named urls instead of plain urls (easy to change url redirection)
- **Fetch** class that resolves the compatibility issues with $_POST or $_GET globals when using Javascript Promise calls;
- **Authentication** class for protected routes;
- **Permission** class for permission control;
- Powerful **Type** classes, with multiple methods to format, validate and store data;

## Documentation
- Working on it