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.
- Host: GitHub
- URL: https://github.com/andregalastri/galastri-framework
- Owner: andregalastri
- License: other
- Created: 2021-03-25T09:18:05.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-04-02T22:57:19.000Z (almost 4 years ago)
- Last Synced: 2025-01-15T23:28:22.490Z (about 1 year ago)
- Topics: brazil, framework, galastri, galastri-framework, microframework, mvc, oop, php, php-framework, php-microframework
- Language: PHP
- Homepage:
- Size: 1.32 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Galastri Framework
[](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