Download the PHP package arsengoian/viper without Composer
On this page you can find all versions of the php package arsengoian/viper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download arsengoian/viper
More information about arsengoian/viper
Files in arsengoian/viper
Package viper
Short Description A deployment package of Viper - a simple to use multi-functional PHP MVC framework
License Apache-2.0
Informations about the package viper
Viper
Viper is a lightweight universal PHP MVC framework with its own models and templating engine
Starting developing on Viper is as easy as typing in the console:
composer create-project arsengoian/viper PROJECT_NAME dev-master
and configuring DB credentials
Configuration
The web application is configured by an array of YAML files at config/
directory. They contain a list of instructions on every setting. local.yaml
contains configuration related to the current server environment while global.config
sets up overall application settings.
Settings may be accessed at any time using Config
class:
Features
YAML routing
Requests are routed automatically, for example a GET request to http://website.com/chairs
will invoke the get
method of ChairsController
Routing example:
Easy-to-use controllers and built-in validation
A controller function implementing a POST request:
Auto-completing models
Viper deals with databases automatically, miminizing the need to edit SQL manually. A YAML setup like this:
will create the needed database structure if needed and update it along with the file if needed.
Filters
Will be applied to all routes before any controller actions:
Logging and utilities
Viper supports built-in logging and a collection of useful utilities, including caching, advanced string handling etc.
Caching capabilities
All views and parsed .yaml files are recovered, if possible, from cache
Features in early development
- Background processes and services
- Windows background tasks
- Viper templating engine
- Console commands
- Full Mysql support
- Other SQL dialects support
- Numerous feature and structure improvements
Contributing and development
Since the framework is on an early stage of development, it may feature structural irreversable changes without reverse compatibility.
Please contribute to the project if you also feel passionate about making PHP development more elegant and intuitive =)
All versions of viper with dependencies
pimax/fb-messenger-php Version v1.0
arsengoian/viper-framework Version dev-master
arsengoian/viper-blade Version dev-master