Download the PHP package drpheltright/lily without Composer

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

Lily

A lightweight web application library for PHP 5.3+.

Lily provides your application with a common sense interface to HTTP. She also provides routing, exception handling, dependency injection and more. This project is inspired by the design of ring, especially in regards to the use of higher order functions and middleware.

Lil' Lily has very little to her weighing in at 1019LOC. She aims to be readable in one sitting.

This example uses PHP 5.4 as do all examples found in the wiki. Lily supports 5.3+ though so you can backport examples.

A slightly more complex example can be found in /example.

Why Lily?

Because she's different. She doesn't enforce you to obide by interfaces and implement classes in a rigid fashion that is tightly coupled to a framework. She instead provides the same functionality with less restriction.

By providing decoupled components that behave like ordinary functions, by representing requests and responses as hashes, she doesn't tie you to complex interfaces that force you to stay with a framework.

Ultimately she provides you the flexibility to grow your application in whatever way you want by providing all the components you need without fencing you in a framework. With Lily you can compose a framework yourself.

Installation

Installing Lily through composer is easy. Just create a composer.json file in a new directory for your application:

Now run the following command in that directory:

Done!

Documentation

Tests

Build Status Coverage Status

To run the test suite, you need composer and it will handle the rest. Lily unit tests are written with PHPUnit.

We try and keep coverage high and no feature is added without some kind of test.

Development

All development should be done via GitHub Issues. New features should be suggested/planned there and can be identified by the feature tag. Also bugs should be reported with the bug label.

I'd like some development help with new features. I've labelled the features that people are welcome to hack at with please help. If a task isn't labelled please just comment to ask if you want to help out.

Features must be tested before pull requests opened.

License

Copyright © 2014 Luke Morton

Distributed under MIT. See LICENSE distributed with Lily for more information. TL;DR, Keep the license found at the top of each Lily file with significant chunks of code you want to reuse.


All versions of lily with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
filp/whoops Version ~1.0.10
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 drpheltright/lily contains the following files

Loading the files please wait ....