You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: composer.json
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,11 @@
1
1
{
2
-
"name": "adamwathan/bootforms",
2
+
"name": "avengers/bootforms",
3
3
"description": "Just a Formbuilder with some Bootstrap specific conveniences. Remembers old input, retrieves error messages and handles all your boilerplate Bootstrap markup automatically.",
BootForms builds on top of my more general [Form](https://github.com/adamwathan/form) package by adding another layer of abstraction to rapidly generate markup for standard Bootstrap 3 forms. Probably not perfect for your super custom branded ready-for-release apps, but a *huge* time saver when you are still in the prototyping stage!
7
+
BootForms builds on top of my more general [Form](https://github.com/avengers/form) package by adding another layer of abstraction to rapidly generate markup for standard Bootstrap 3 forms. Probably not perfect for your super custom branded ready-for-release apps, but a *huge* time saver when you are still in the prototyping stage!
11
8
12
9
-[Installation](#installing-with-composer)
13
10
-[Using BootForms](#using-bootforms)
@@ -24,7 +21,7 @@ BootForms builds on top of my more general [Form](https://github.com/adamwathan/
24
21
You can install this package via Composer by running this command in your terminal in the root of your project:
25
22
26
23
```bash
27
-
composer require adamwathan/bootforms
24
+
composer require avengers/bootforms
28
25
```
29
26
30
27
### Laravel
@@ -36,7 +33,7 @@ Modify the `providers` array in `config/app.php` to include the `BootFormsServic
36
33
```php
37
34
'providers' => [
38
35
//...
39
-
'AdamWathan\BootForms\BootFormsServiceProvider'
36
+
'TheAvengers\BootForms\BootFormsServiceProvider'
40
37
],
41
38
```
42
39
@@ -45,7 +42,7 @@ Add the `BootForm` facade to the `aliases` array in `config/app.php`:
$basicBootFormsBuilder = new AdamWathan\BootForms\BasicFormBuilder($formBuilder);
70
-
$horizontalBootFormsBuilder = new AdamWathan\BootForms\HorizontalFormBuilder($formBuilder);
66
+
$basicBootFormsBuilder = new TheAvengers\BootForms\BasicFormBuilder($formBuilder);
67
+
$horizontalBootFormsBuilder = new TheAvengers\BootForms\HorizontalFormBuilder($formBuilder);
71
68
72
-
$bootForm = new AdamWathan\BootForms\BootForm($basicBootFormsBuilder, $horizontalBootFormsBuilder);
69
+
$bootForm = new TheAvengers\BootForms\BootForm($basicBootFormsBuilder, $horizontalBootFormsBuilder);
73
70
```
74
71
75
-
> Note: You must provide your own implementations of `AdamWathan\Form\OldInputInterface` and `AdamWathan\Form\ErrorStoreInterface` when not using the implementations meant for Laravel.
72
+
> Note: You must provide your own implementations of `TheAvengers\Form\OldInputInterface` and `TheAvengers\Form\ErrorStoreInterface` when not using the implementations meant for Laravel.
For more information about what's possible, check out the documentation for [my basic Form package.](https://github.com/adamwathan/form)
126
+
For more information about what's possible, check out the documentation for [my basic Form package.](https://github.com/avengers/form)
130
127
131
128
### Reduced Boilerplate
132
129
@@ -236,7 +233,7 @@ You can add a help block underneath a form element using the `helpBlock()` helpe
236
233
237
234
#### Model Binding
238
235
239
-
BootForms makes it easy to bind an object to a form to provide default values. Read more about it [here](https://github.com/adamwathan/form#model-binding).
236
+
BootForms makes it easy to bind an object to a form to provide default values. Read more about it [here](https://github.com/avengers/form#model-binding).
0 commit comments