Merge pull request #722 from syntaqx/readme-cleanup

readme cleanup and overall better'ness
This commit is contained in:
Taylor Otwell 2012-05-30 06:36:46 -07:00
commit db6206218a
1 changed files with 16 additions and 11 deletions

View File

@ -1,10 +1,13 @@
## Laravel - A PHP Framework For Web Artisans # [Laravel](http://laravel.com) - A PHP Framework For Web Artisans
Laravel is a clean and classy framework for PHP web development. Freeing you from spaghetti code, Laravel helps you create wonderful applications using simple, expressive syntax. Development should be a creative experience that you enjoy, not something that is painful. Enjoy the fresh air. Laravel is a clean and classy framework for PHP web development. Freeing you
from spaghetti code, Laravel helps you create wonderful applications using
simple, expressive syntax. Development should be a creative experience that you
enjoy, not something that is painful. Enjoy the fresh air.
### [Official Website & Documentation](http://laravel.com) [Official Website & Documentation](http://laravel.com)
### Feature Overview ## Feature Overview
- Simple routing using Closures or controllers. - Simple routing using Closures or controllers.
- Views and templating. - Views and templating.
@ -15,9 +18,9 @@ ### Feature Overview
- PHPUnit Integration. - PHPUnit Integration.
- A lot more. - A lot more.
### A Few Examples ## A Few Examples
**Hello World:** ### Hello World:
```php ```php
<?php <?php
@ -28,7 +31,7 @@ ### A Few Examples
}); });
``` ```
**Passing Data To Views:** ### Passing Data To Views:
```php ```php
<?php <?php
@ -41,7 +44,7 @@ ### A Few Examples
}); });
``` ```
**Redirecting & Flashing Data To The Session:** ### Redirecting & Flashing Data To The Session:
```php ```php
<?php <?php
@ -49,14 +52,16 @@ ### A Few Examples
return Redirect::to('profile')->with('message', 'Welcome Back!'); return Redirect::to('profile')->with('message', 'Welcome Back!');
``` ```
### Contributing to Laravel ## Contributing to Laravel
Contributions are encouraged and welcome; however, please review the Developer Certificate of Origin in the "license.txt" file included in the repository. All commits must be signed off using the "-s" switch. Contributions are encouraged and welcome; however, please review the Developer
Certificate of Origin in the "license.txt" file included in the repository. All
commits must be signed off using the `-s` switch.
```bash ```bash
git commit -s -m "this commit will be signed off automatically!" git commit -s -m "this commit will be signed off automatically!"
``` ```
### License ## License
Laravel is open-sourced software licensed under the MIT License. Laravel is open-sourced software licensed under the MIT License.