Edifice - Laravel 4 From Builder
A Laravel 4 form builder package inspired from formtastic and using Foundation CSS framework., (*1)
Edifice use Laravel Syntax with some addition. The learning curve is not painful. You use richer Laravel syntax., (*2)
, (*3)
Compatibility
Edifice is compatible with Laravel 4.0.x, (*4)
Version 1.0 RoadMap
- [x] Implement Foundation CSS 4 From components.
- [x] Implement input form types.
- [x] Implement HTML 5 inputs( color, date... )
- [ ] Implement checkbox list and radio list.
- [ ] Implement fieldset.
- [ ] Implement select.
- [ ] Add auto transltion feature.
- [x] Handle validation error display.
- [ ] Implement MetroUI CSS 0.95 From components.
- [ ] Implement Bootstrap CSS 2 From components.
- [ ] Implement CSS Horus 1 From components.
- [ ] Implement Responsable CSS 1 From components.
- [ ] Implement Skeleton CSS 1 From components.
Installation
Install configuration file :, (*5)
php artisan config:publish lionart/edifice, (*6)
In app.php Laravel confiuration file add this line to providers :, (*7)
'Lionart\Edifice\EdificeServiceProvider'
And the line below to aliases :, (*8)
'Edifice' => 'Lionart\Edifice\Support\Facades\Edifice'
Do not forget to load Foundation CSS & JavaScript files:
http://foundation.zurb.com/docs/ & http://foundation.zurb.com/docs/javascript.html, (*9)
Edifice::text('first_name',
'John Doe',
array('label' => array
(
// Custom Edifice properties
'text' => 'First Name',
'align' => 'left | right',
'inline' => 'true | false',
'error' => 'Error message'
// HTML Attributes
'class' = 'red...',
'id' => 'label_id'
)
)
);