Skip to content

Commit

Permalink
vendor changed
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed May 8, 2018
1 parent 1db7008 commit f527648
Show file tree
Hide file tree
Showing 23 changed files with 43 additions and 38 deletions.
1 change: 1 addition & 0 deletions LICENSE
@@ -1,6 +1,7 @@
The MIT License (MIT)

Copyright (c) 2016 Adam Wathan <adam.wathan@gmail.com>
Copyright (c) 2018 Samuel De Backer <sdebacker@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
10 changes: 7 additions & 3 deletions composer.json
@@ -1,10 +1,14 @@
{
"name": "adamwathan/bootforms",
"description": "Just a Formbuilder with some Bootstrap specific conveniences. Remembers old input, retrieves error messages and handles all your boilerplate Bootstrap markup automatically.",
"name": "typicms/bootforms",
"description": "Just a Formbuilder with some Bootstrap 4 specific conveniences. Remembers old input, retrieves error messages and handles all your boilerplate Bootstrap markup automatically.",
"authors": [
{
"name": "Adam Wathan",
"email": "adam.wathan@gmail.com"
},
{
"name": "Samuel De Backer",
"email": "sdebacker@gmail.com"
}
],
"license": "MIT",
Expand All @@ -19,7 +23,7 @@
},
"autoload": {
"psr-0": {
"AdamWathan\\BootForms": "src/"
"TypiCMS\\BootForms": "src/"
}
},
"minimum-stability": "stable"
Expand Down
4 changes: 2 additions & 2 deletions phpunit.xml
Expand Up @@ -23,8 +23,8 @@
<whitelist>
<directory suffix=".php">./src</directory>
<exclude>
<file>./src/AdamWathan/BootForms/BootFormsServiceProvider.php</file>
<file>./src/AdamWathan/BootForms/Facades/BootForm.php</file>
<file>./src/TypiCMS/BootForms/BootFormsServiceProvider.php</file>
<file>./src/TypiCMS/BootForms/Facades/BootForm.php</file>
</exclude>
</whitelist>
</filter>
Expand Down
10 changes: 5 additions & 5 deletions readme.md
Expand Up @@ -33,7 +33,7 @@ Modify the `providers` array in `config/app.php` to include the `BootFormsServic
```php
'providers' => [
//...
'AdamWathan\BootForms\BootFormsServiceProvider'
'TypiCMS\BootForms\BootFormsServiceProvider'
],
```

Expand All @@ -42,7 +42,7 @@ Add the `BootForm` facade to the `aliases` array in `config/app.php`:
```php
'aliases' => [
//...
'BootForm' => 'AdamWathan\BootForms\Facades\BootForm'
'BootForm' => 'TypiCMS\BootForms\Facades\BootForm'
],
```

Expand All @@ -63,10 +63,10 @@ $formBuilder->setOldInputProvider($myOldInputProvider);
$formBuilder->setErrorStore($myErrorStore);
$formBuilder->setToken($myCsrfToken);

$basicBootFormsBuilder = new AdamWathan\BootForms\BasicFormBuilder($formBuilder);
$horizontalBootFormsBuilder = new AdamWathan\BootForms\HorizontalFormBuilder($formBuilder);
$basicBootFormsBuilder = new TypiCMS\BootForms\BasicFormBuilder($formBuilder);
$horizontalBootFormsBuilder = new TypiCMS\BootForms\HorizontalFormBuilder($formBuilder);

$bootForm = new AdamWathan\BootForms\BootForm($basicBootFormsBuilder, $horizontalBootFormsBuilder);
$bootForm = new TypiCMS\BootForms\BootForm($basicBootFormsBuilder, $horizontalBootFormsBuilder);
```

> Note: You must provide your own implementations of `AdamWathan\Form\OldInputInterface` and `AdamWathan\Form\ErrorStoreInterface` when not using the implementations meant for Laravel.
Expand Down
@@ -1,10 +1,10 @@
<?php namespace AdamWathan\BootForms;
<?php namespace TypiCMS\BootForms;

use AdamWathan\BootForms\Elements\CheckGroup;
use AdamWathan\BootForms\Elements\FormGroup;
use AdamWathan\BootForms\Elements\GroupWrapper;
use AdamWathan\BootForms\Elements\FormText;
use AdamWathan\BootForms\Elements\InputGroup;
use TypiCMS\BootForms\Elements\CheckGroup;
use TypiCMS\BootForms\Elements\FormGroup;
use TypiCMS\BootForms\Elements\GroupWrapper;
use TypiCMS\BootForms\Elements\FormText;
use TypiCMS\BootForms\Elements\InputGroup;
use AdamWathan\Form\FormBuilder;

class BasicFormBuilder
Expand Down
@@ -1,4 +1,4 @@
<?php namespace AdamWathan\BootForms;
<?php namespace TypiCMS\BootForms;

class BootForm
{
Expand Down
@@ -1,4 +1,4 @@
<?php namespace AdamWathan\BootForms;
<?php namespace TypiCMS\BootForms;

use AdamWathan\Form\ErrorStore\IlluminateErrorStore;
use AdamWathan\Form\FormBuilder;
Expand Down
@@ -1,4 +1,4 @@
<?php namespace AdamWathan\BootForms\Elements;
<?php namespace TypiCMS\BootForms\Elements;

use AdamWathan\Form\Elements\Element;
use AdamWathan\Form\Elements\Label;
Expand Down
@@ -1,4 +1,4 @@
<?php namespace AdamWathan\BootForms\Elements;
<?php namespace TypiCMS\BootForms\Elements;

use AdamWathan\Form\Elements\Element;
use AdamWathan\Form\Elements\Label;
Expand Down
@@ -1,4 +1,4 @@
<?php namespace AdamWathan\BootForms\Elements;
<?php namespace TypiCMS\BootForms\Elements;

use AdamWathan\Form\Elements\Element;

Expand Down
@@ -1,4 +1,4 @@
<?php namespace AdamWathan\BootForms\Elements;
<?php namespace TypiCMS\BootForms\Elements;

use AdamWathan\Form\Elements\Label;

Expand Down
@@ -1,4 +1,4 @@
<?php namespace AdamWathan\BootForms\Elements;
<?php namespace TypiCMS\BootForms\Elements;

use AdamWathan\Form\Elements\Element;
use AdamWathan\Form\Elements\Label;
Expand Down
@@ -1,4 +1,4 @@
<?php namespace AdamWathan\BootForms\Elements;
<?php namespace TypiCMS\BootForms\Elements;

use AdamWathan\Form\Elements\Text;

Expand Down
@@ -1,4 +1,4 @@
<?php namespace AdamWathan\BootForms\Elements;
<?php namespace TypiCMS\BootForms\Elements;

use AdamWathan\Form\Elements\Element;

Expand Down
@@ -1,4 +1,4 @@
<?php namespace AdamWathan\BootForms\Elements;
<?php namespace TypiCMS\BootForms\Elements;

class OffsetFormGroup
{
Expand Down
@@ -1,4 +1,4 @@
<?php namespace AdamWathan\BootForms\Facades;
<?php namespace TypiCMS\BootForms\Facades;

use Illuminate\Support\Facades\Facade;

Expand Down
@@ -1,9 +1,9 @@
<?php namespace AdamWathan\BootForms;
<?php namespace TypiCMS\BootForms;

use AdamWathan\BootForms\Elements\CheckGroup;
use AdamWathan\BootForms\Elements\FormText;
use AdamWathan\BootForms\Elements\HorizontalFormGroup;
use AdamWathan\BootForms\Elements\OffsetFormGroup;
use TypiCMS\BootForms\Elements\CheckGroup;
use TypiCMS\BootForms\Elements\FormText;
use TypiCMS\BootForms\Elements\HorizontalFormGroup;
use TypiCMS\BootForms\Elements\OffsetFormGroup;
use AdamWathan\Form\FormBuilder;

class HorizontalFormBuilder extends BasicFormBuilder
Expand Down
2 changes: 1 addition & 1 deletion tests/BasicFormBuilderTest.php
@@ -1,6 +1,6 @@
<?php

use AdamWathan\BootForms\BasicFormBuilder;
use TypiCMS\BootForms\BasicFormBuilder;
use AdamWathan\Form\FormBuilder;
use PHPUnit\Framework\TestCase;

Expand Down
2 changes: 1 addition & 1 deletion tests/FormGroupTest.php
@@ -1,6 +1,6 @@
<?php

use AdamWathan\BootForms\Elements\FormGroup;
use TypiCMS\BootForms\Elements\FormGroup;
use AdamWathan\Form\FormBuilder;
use PHPUnit\Framework\TestCase;

Expand Down
2 changes: 1 addition & 1 deletion tests/FormTextTest.php
@@ -1,6 +1,6 @@
<?php

use AdamWathan\BootForms\Elements\FormText;
use TypiCMS\BootForms\Elements\FormText;
use PHPUnit\Framework\TestCase;

class FormTextTest extends TestCase
Expand Down
2 changes: 1 addition & 1 deletion tests/HorizontalFormBuilderTest.php
@@ -1,6 +1,6 @@
<?php

use AdamWathan\BootForms\HorizontalFormBuilder;
use TypiCMS\BootForms\HorizontalFormBuilder;
use AdamWathan\Form\FormBuilder;
use PHPUnit\Framework\TestCase;

Expand Down
2 changes: 1 addition & 1 deletion tests/InputGroupTest.php
@@ -1,6 +1,6 @@
<?php

use AdamWathan\BootForms\Elements\InputGroup;
use TypiCMS\BootForms\Elements\InputGroup;
use PHPUnit\Framework\TestCase;

class InputGroupTest extends TestCase
Expand Down
2 changes: 1 addition & 1 deletion tests/InvalidFeedbackTest.php
@@ -1,6 +1,6 @@
<?php

use AdamWathan\BootForms\Elements\InvalidFeedback;
use TypiCMS\BootForms\Elements\InvalidFeedback;
use PHPUnit\Framework\TestCase;

class InvalidFeedbackTest extends TestCase
Expand Down

0 comments on commit f527648

Please sign in to comment.