Skip to content

Commit

Permalink
readme cleanup and overall better'ness
Browse files Browse the repository at this point in the history
Signed-off-by: syntaqx <[email protected]>
  • Loading branch information
syntaqx committed May 29, 2012
1 parent 22f99bc commit 5dc7d81
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions readme.md
Original file line number Diff line number Diff line change
@@ -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.
- Views and templating.
Expand All @@ -15,9 +18,9 @@ Laravel is a clean and classy framework for PHP web development. Freeing you fro
- PHPUnit Integration.
- A lot more.

### A Few Examples
## A Few Examples

**Hello World:**
### Hello World:

```php
<?php
Expand All @@ -28,7 +31,7 @@ Route::get('/', function()
});
```

**Passing Data To Views:**
### Passing Data To Views:

```php
<?php
Expand All @@ -41,22 +44,24 @@ Route::get('user/(:num)', function($id)
});
```

**Redirecting & Flashing Data To The Session:**
### Redirecting & Flashing Data To The Session:

```php
<?php

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
git commit -s -m "this commit will be signed off automatically!"
```

### License
## License

Laravel is open-sourced software licensed under the MIT License.

0 comments on commit 5dc7d81

Please sign in to comment.