Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

The PHP micro-framework based on the Symfony2 Components

branch: master

This branch is 0 commits ahead and 0 commits behind master

feature #922 Various fixes (fabpot)

This PR was merged into the 1.2.x-dev branch.

Discussion
----------

Various fixes

Some merged PRs from fabpot/Silex repo.

Commits
-------

72aae9e fixed CS
e4e0fef fixed wrong merge
3390333 minor #4 Changed fetchAssoc to fetchAll (gelbander)
c119f90 Merge remote-tracking branch 'WouterJ/doc_fixes'
19265c0 feature #7 Provides support for the PATCH method for HTTP (ramsey)
0f6956d Provides support for the PATCH method for HTTP
919c32c Some doc fixes
0383926 Changed fetchAssoc to fetchAll
latest commit 8a50937114
Fabien Potencier authored
Octocat-spinner-32 bin Update constraints from ~1.0 to ~1.1 September 10, 2013
Octocat-spinner-32 doc fixed wrong merge March 14, 2014
Octocat-spinner-32 src feature #7 Provides support for the PATCH method for HTTP (ramsey) March 14, 2014
Octocat-spinner-32 tests fixed CS March 14, 2014
Octocat-spinner-32 .gitignore updated deps to allow Symfony 2.2, removed the lock file from the rep… October 12, 2012
Octocat-spinner-32 .travis.yml Enabled testing on Symfony 2.5 on Travis January 19, 2014
Octocat-spinner-32 LICENSE Updated year in License January 08, 2014
Octocat-spinner-32 README.rst moved README to rst November 11, 2013
Octocat-spinner-32 composer.json Made Silex comaptible with Symfony 2.5 January 19, 2014
Octocat-spinner-32 phpunit.xml.dist Changed in phpunit.xml.dist and added testsfor lazy url matcher June 30, 2012
README.rst

Silex, a simple Web Framework

Silex is a PHP micro-framework to develop websites based on Symfony2 components:

<?php

require_once __DIR__.'/../vendor/autoload.php';

$app = new Silex\Application();

$app->get('/hello/{name}', function ($name) use ($app) {
  return 'Hello '.$app->escape($name);
});

$app->run();

Silex works with PHP 5.3.3 or later.

Installation

The recommended way to install Silex is through Composer. Just create a composer.json file and run the php composer.phar install command to install it:

{
    "require": {
        "silex/silex": "~1.1"
    }
}

Alternatively, you can download the silex.zip file and extract it.

More Information

Read the documentation for more information.

Tests

To run the test suite, you need Composer:

$ php composer.phar install --dev
$ vendor/bin/phpunit

Community

Check out #silex-php on irc.freenode.net.

License

Silex is licensed under the MIT license.

Something went wrong with that request. Please try again.