Commit 74de1b18 authored by Fabien Potencier's avatar Fabien Potencier

simplified README as we now have proper docs

parent fa1a8005
# Silex, a simple Web Framework Silex, a simple Web Framework
=============================
Silex is a simple web framework to develop simple websites: Silex is a simple web framework to develop simple websites based on
[Symfony2][1] components:
require_once __DIR__.'/silex.phar'; require_once __DIR__.'/silex.phar';
...@@ -10,20 +12,8 @@ Silex is a simple web framework to develop simple websites: ...@@ -10,20 +12,8 @@ Silex is a simple web framework to develop simple websites:
return "Hello $name"; return "Hello $name";
}); });
$app->match('/goodbye/{name}', function($name) {
return "Goodbye $name";
});
$app->error(function($e) {
return "An error occured<br />".$e->getMessage();
});
$app->run(); $app->run();
Silex is based on [Symfony2][1].
## Requirements
Silex works with PHP 5.3.2 or later. Silex works with PHP 5.3.2 or later.
## Installation ## Installation
...@@ -31,21 +21,9 @@ Silex works with PHP 5.3.2 or later. ...@@ -31,21 +21,9 @@ Silex works with PHP 5.3.2 or later.
Installing Silex is as easy as it can get. Download the [`silex.phar`][2] file Installing Silex is as easy as it can get. Download the [`silex.phar`][2] file
and you're done! and you're done!
## Test Suite
You can run the [PHPUnit][3] test suite by running `phpunit`.
## Build
You can build the `silex.phar` file by running `php compile`.
## More Information ## More Information
Read the [documentation][5] for more information. Read the [documentation][3] for more information.
## Slides
- [Silex - The Symfony2 Microframework][4]
## License ## License
...@@ -53,6 +31,4 @@ Silex is licensed under the MIT license. ...@@ -53,6 +31,4 @@ Silex is licensed under the MIT license.
[1]: http://symfony.com [1]: http://symfony.com
[2]: http://silex-project.org/get/silex.phar [2]: http://silex-project.org/get/silex.phar
[3]: https://github.com/sebastianbergmann/phpunit [3]: http://silex-project.org/documentation
[4]: http://www.slideshare.net/IgorWiedler/silex-the-symfony2-microframework
[5]: http://silex-project.org/documentation
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment