v-dem / queasy-i18n
There is no license information available for the latest version (dev-master) of this package.
dev-master
2017-09-10 15:17 UTC
Requires
- php: >=5.3.0
Requires (Dev)
- phpunit/phpunit: ~5.7
This package is auto-updated.
Last update: 2024-11-12 04:34:29 UTC
README
Queasy PHP framework was developed to help with small projects whose don't require a lot of features implemented in other big, great and nice frameworks like Laravel.
- Intro
- Configs
- Logs
- Routes and Controllers
- Database and Models
- Forms and Validation
- Internationalization
- Events and Listeners
Requirements
- PHP 5.3 - Newer PHP versions surely can be used too. This framework doesn't use any things came in newer versions, so it is useful even within PHP 5.3 hostings.
- PDO - for database access.
- Apache Httpd - to serve .htaccess for human-readable URLs.
Installation
- Install Composer
- Run
composer create-project --stability=dev --prefer-dist v-dem/queasy-app YOUR_PROJECT_NAME
- Copy
queasy-config.php.sample
toqueasy-config.php
and modify its settings due to your system configuration.
Features
Quick
- Much faster than other micro frameworks.
Easy
- No complex things like DI or IoC used. Just a standard OOP. So debugging is very easy and source code is clean to understand.
Small
- Just a several tens of files. And they are loaded only when needed.
Functional
- Supports complex configurations with ability to load from different files.
- Supports internationalization from a box.
- Forms validation from a box too.
- Built-in logger, it has to be PSR-compatible in future.
- Database access is very easy for easy queries (like INSERT, DELETE, UPDATE or SELECT by a single field), more complex queries can be configured in config files.
- REST support. Every Controller should respond to HTTP methods like GET, POST, PUT, DELETE etc - no routes required.
MVC
Folders structure
/app
Default folder for custom application files-
/app/controllers
Controllers
-
/app/models
Models
-
/app/forms
Forms
-
/app/events
Events
-
/app/listeners
Event listeners
-
/app/App.php
Main application class
/public
Default folder for public resources like CSS, JS, images etc./public/index.php
Queasy loader/i18n
Default folder for translations/logs
Default folder for log files/views
Default folder for views/vendor
Contains Composer classes, including Queasy core files