Download the PHP package markstory/cakephp-spekkoek without Composer

On this page you can find all versions of the php package markstory/cakephp-spekkoek. 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 cakephp-spekkoek

Spekkoek plugin for CakePHP

Build Status codecov.io

This plugin is a prototype for adding PSR7 middleware & request/response object support to CakePHP. It should be considered experimental.

Concepts

Spekkoek aims to provide PSR7 middleware for a CakePHP 3.x application. It adds a few new concepts to a CakePHP application that extend and enhance the existing abstractions.

There are PSR7 middleware versions of all the CakePHP core DispatchFilters. These are intended to be long term replacements for the CakePHP dispatch filters.

Middleware

Middleware is a closure or callable object that accepts a request/response and returns a response. Each middleware is also provided the next callable in the chain. This callable should be invoked if/when you want to delegate the response creation to the next middleware object. Middleware objects need to implement the following protocol:

Middleware objects must return a Response object. They can either augment the existing response object or create a new one, or delegate to the next middleware object by calling $next. A trivial example of middleware would be:

Here we can see the $next object in action and also how to put some simple logic before and after the lower layers.

Usage

This plugin fundamentally reworks your application's bootstrap process. It requires replacing your webroot/index.php and implementing an Application class.

Installation & Getting Started

Unlike many other plugins, Spekkoek requires a more setup. Because it needs to augment how bootstrapping, requests and responses are handled you'll need to modify your webroot/index.php

Install the plugin with composer:

Next update your webroot/index.php to update

Build the Application class

In your application's src directory create src/Application.php and put the following in it:

Update webroot/index.php

With your Application defined, you will need to update your webroot/index.php. It should look something like the following:


All versions of cakephp-spekkoek with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9
zendframework/zend-diactoros Version ~1.0
cakephp/cakephp Version ~3.0
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 markstory/cakephp-spekkoek contains the following files

Loading the files please wait ....