diff --git a/LICENSE b/LICENSE index 5edccce..9b79750 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,7 @@ The MIT License (MIT) Copyright (c) 2016 Adam Wathan +Copyright (c) 2018 Samuel De Backer Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/composer.json b/composer.json index 321fd8c..d6e1fdc 100644 --- a/composer.json +++ b/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", @@ -19,7 +23,7 @@ }, "autoload": { "psr-0": { - "AdamWathan\\BootForms": "src/" + "TypiCMS\\BootForms": "src/" } }, "minimum-stability": "stable" diff --git a/phpunit.xml b/phpunit.xml index d312217..614b873 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -23,8 +23,8 @@ ./src - ./src/AdamWathan/BootForms/BootFormsServiceProvider.php - ./src/AdamWathan/BootForms/Facades/BootForm.php + ./src/TypiCMS/BootForms/BootFormsServiceProvider.php + ./src/TypiCMS/BootForms/Facades/BootForm.php diff --git a/readme.md b/readme.md index 84d825f..0cca84a 100644 --- a/readme.md +++ b/readme.md @@ -33,7 +33,7 @@ Modify the `providers` array in `config/app.php` to include the `BootFormsServic ```php 'providers' => [ //... - 'AdamWathan\BootForms\BootFormsServiceProvider' + 'TypiCMS\BootForms\BootFormsServiceProvider' ], ``` @@ -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' ], ``` @@ -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. diff --git a/src/AdamWathan/BootForms/BasicFormBuilder.php b/src/TypiCMS/BootForms/BasicFormBuilder.php similarity index 94% rename from src/AdamWathan/BootForms/BasicFormBuilder.php rename to src/TypiCMS/BootForms/BasicFormBuilder.php index 190ff90..2c2d9ca 100644 --- a/src/AdamWathan/BootForms/BasicFormBuilder.php +++ b/src/TypiCMS/BootForms/BasicFormBuilder.php @@ -1,10 +1,10 @@ -