Skip to content

Commit

Permalink
Update readme to better reflect new formers organization
Browse files Browse the repository at this point in the history
  • Loading branch information
claar committed Feb 27, 2015
1 parent c7c8975 commit 9a574bf
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@
[![Build Status](http://img.shields.io/travis/Anahkiasen/former.svg?style=flat)](https://travis-ci.org/Anahkiasen/former)
[![Latest Stable Version](http://img.shields.io/packagist/v/anahkiasen/former.svg?style=flat)](https://packagist.org/packages/anahkiasen/former)
[![Total Downloads](http://img.shields.io/packagist/dt/anahkiasen/former.svg?style=flat)](https://packagist.org/packages/anahkiasen/former)
[![Scrutinizer Quality Score](http://img.shields.io/scrutinizer/g/Anahkiasen/former.svg?style=flat)](https://scrutinizer-ci.com/g/Anahkiasen/former/)
[![Code Coverage](http://img.shields.io/scrutinizer/coverage/g/Anahkiasen/former.svg?style=flat)](https://scrutinizer-ci.com/g/Anahkiasen/former/)
[![Dependency Status](https://www.versioneye.com/user/projects/54363f5eb2a9c51d400000d0/badge.svg?style=flat)](https://www.versioneye.com/user/projects/54363f5eb2a9c51d400000d0)
[![Support via Gittip](http://img.shields.io/gittip/Anahkiasen.svg?style=flat)](https://www.gittip.com/Anahkiasen/)

### For Laravel 5, use the [4.0 branch](https://github.com/Anahkiasen/former/tree/4.0)
### For Laravel 5, use the [4.0 branch](https://github.com/formers/former/tree/4.0)

Former is the name of a little project I'd like to present you — it's a PHP package that allows you to do all kinds of powerful stuff with forms while remaining pretty simple to use. It's also a really nice guy too once you get to know him.

Expand Down Expand Up @@ -43,12 +39,10 @@ Former::close();
```

Every time you call a method that doesn't actually exist, Former assumes you're trying to set an attribute and creates it magically. That's why you can do in the above example `->rows(10)` ; in case you want to set attributes that contain dashes, just replace them by underscores : `->data_foo('bar')` equals `data-foo="bar"`.
Now of course in case you want to set an attribute that actually contains an underscore (jeez aren't you the little smartass) you can always use the fallback method `setAttribute('data_foo', 'bar')`. You're welcome.
Now of course in case you want to set an attribute that actually contains an underscore you can always use the fallback method `setAttribute('data_foo', 'bar')`. You're welcome.

This is the core of it, but Former offers a lot more. I invite you to consult the wiki to see the extend of what Former does.

Former is developed by [Maxime Fabre][] and [Peter Coles][].

-----

### Table of contents
Expand All @@ -57,8 +51,6 @@ Former is developed by [Maxime Fabre][] and [Peter Coles][].
- [Features][]
- [Anatomy][]

[Peter Coles]: http://petercoles.com
[Maxime Fabre]: http://autopergamene.eu
[Anatomy]: https://github.com/Anahkiasen/former/wiki/Anatomy
[Features]: https://github.com/Anahkiasen/former/wiki/Features
[Getting started]: https://github.com/Anahkiasen/former/wiki/Getting-started
[Anatomy]: https://github.com/formers/former/wiki/Anatomy
[Features]: https://github.com/formers/former/wiki/Features
[Getting started]: https://github.com/formers/former/wiki/Getting-started

0 comments on commit 9a574bf

Please sign in to comment.