Download the PHP package arsengoian/viper-framework without Composer

On this page you can find all versions of the php package arsengoian/viper-framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package viper-framework

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.

To check out the application build which is deployed with this command (or contribute) check out: https://github.com/arsengoian/viper

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

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-framework with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
jenssegers/date Version v3.5.0
smottt/wideimage Version 1.1.3
ext-json Version *
ext-pdo Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package arsengoian/viper-framework contains the following files

Loading the files please wait ....