diff --git a/README.md b/README.md index 1ebfa7e..5918c67 100644 --- a/README.md +++ b/README.md @@ -2,16 +2,14 @@ **FormMaker** - A remarkably magical form and input maker tool for Laravel. -[![Build Status](https://travis-ci.org/YABhq/FormMaker.svg?branch=master)](https://travis-ci.org/YABhq/FormMaker) -[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/YABhq/FormMaker/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/YABhq/FormMaker/?branch=develop) -[![Packagist](https://img.shields.io/packagist/dt/yab/formmaker.svg)](https://packagist.org/packages/yab/formmaker) -[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://packagist.org/packages/yab/formmaker) +[![Build Status](https://travis-ci.org/GrafiteInc/FormMaker.svg?branch=master)](https://travis-ci.org/GrafiteInc/FormMaker) +[![Packagist](https://img.shields.io/packagist/dt/grafite/formmaker.svg)](https://packagist.org/packages/grafite/formmaker) +[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://packagist.org/packages/grafite/formmaker) The FormMaker package provides a set of tools for generating HTML forms with as little as 1 line of code. Don't want to write boring HTML, neither do we. The FormMaker will generate error containers, all fields defined by either the table or object column types, or if you prefer to have more control define a config. In the case that you want to write more than 1 line of code, FormMaker comes with the InputMaker service as well. With the InputMaker you can create any form of input, including html for Eloquent relationships. ##### Author(s): -* [Matt Lantz](https://github.com/mlantz) ([@mattylantz](http://twitter.com/mattylantz), matt at yabhq dot com) -* [Chris Blackwell](https://github.com/chrisblackwell) ([@chrisblackwell](https://twitter.com/chrisblackwell), chris at yabhq dot com) +* [Matt Lantz](https://github.com/mlantz) ([@mattylantz](http://twitter.com/mattylantz), mattlantz at gmail dot com) ## Requirements @@ -22,7 +20,7 @@ The FormMaker package provides a set of tools for generating HTML forms with as | Laravel Version | Package Tag | Supported | |-----------------|-------------|-----------| -| 5.4.x - 5.5.x | 1.2.x | yes | +| ^5.4.x | 1.2.x | yes | | 5.4.x | 1.1.x | no | | 5.3.x | 1.0.x | no | @@ -35,17 +33,17 @@ composer create-project laravel/laravel your-project-name Then run the following to add FormMaker ```php -composer require "yab/formmaker" +composer require "grafite/formmaker" ``` Add this to the `config/app.php` in the providers array: ```php -Yab\FormMaker\FormMakerProvider::class +Grafite\FormMaker\FormMakerProvider::class ``` Time to publish those assets! ```php -php artisan vendor:publish --provider="Yab\FormMaker\FormMakerProvider" +php artisan vendor:publish --provider="Grafite\FormMaker\FormMakerProvider" ``` ## Documentation diff --git a/composer.json b/composer.json index 29a7cd3..7fa5494 100644 --- a/composer.json +++ b/composer.json @@ -1,15 +1,11 @@ { - "name": "yab/formmaker", + "name": "grafite/formmaker", "description": "A remarkably magical form and input maker tool for Laravel.", "license": "MIT", "authors": [ { "name": "Matt Lantz", - "email": "matt@yabhq.com" - }, - { - "name": "Chris Blackwell", - "email": "chris@yabhq.com" + "email": "mattlantz@gmail.com" } ], "require": { @@ -27,7 +23,7 @@ }, "autoload": { "psr-4": { - "Yab\\FormMaker\\": "src/" + "Grafite\\FormMaker\\": "src/" }, "files": [ "src/Helpers/form_maker.php", @@ -42,7 +38,7 @@ "extra": { "laravel": { "providers": [ - "Yab\\FormMaker\\FormMakerProvider" + "Grafite\\FormMaker\\FormMakerProvider" ] } }, diff --git a/src/Facades/FormMaker.php b/src/Facades/FormMaker.php index 6581a19..263da8e 100644 --- a/src/Facades/FormMaker.php +++ b/src/Facades/FormMaker.php @@ -1,6 +1,6 @@ alias('FormMaker', \Yab\FormMaker\Facades\FormMaker::class); - $loader->alias('InputMaker', \Yab\FormMaker\Facades\InputMaker::class); + $loader->alias('FormMaker', \Grafite\FormMaker\Facades\FormMaker::class); + $loader->alias('InputMaker', \Grafite\FormMaker\Facades\InputMaker::class); // Thrid party $loader->alias('Form', \Collective\Html\FormFacade::class); diff --git a/src/Generators/HtmlGenerator.php b/src/Generators/HtmlGenerator.php index 57ea02c..9b50014 100644 --- a/src/Generators/HtmlGenerator.php +++ b/src/Generators/HtmlGenerator.php @@ -1,6 +1,6 @@ elper to make an HTML input. diff --git a/tests/FormMakerTest.php b/tests/FormMakerTest.php index 4818f71..ddfe6e0 100644 --- a/tests/FormMakerTest.php +++ b/tests/FormMakerTest.php @@ -2,7 +2,7 @@ use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; -use Yab\FormMaker\Services\FormMaker; +use Grafite\FormMaker\Services\FormMaker; class Entry extends Model { diff --git a/tests/HtmlGeneratorTest.php b/tests/HtmlGeneratorTest.php index aac1d56..5833d1d 100644 --- a/tests/HtmlGeneratorTest.php +++ b/tests/HtmlGeneratorTest.php @@ -2,7 +2,7 @@ use Illuminate\Container\Container as Container; use Illuminate\Support\Facades\Facade as Facade; -use Yab\FormMaker\Generators\HtmlGenerator; +use Grafite\FormMaker\Generators\HtmlGenerator; class HtmlGeneratorTest extends TestCase { diff --git a/tests/InputMakerTest.php b/tests/InputMakerTest.php index 2a275fe..c7b5b3b 100644 --- a/tests/InputMakerTest.php +++ b/tests/InputMakerTest.php @@ -1,7 +1,7 @@ \Collective\Html\FormFacade::class, 'HTML' => \Collective\Html\HtmlFacade::class, - 'FormMaker' => \Yab\FormMaker\Facades\FormMaker::class, - 'InputMaker' => \Yab\FormMaker\Facades\InputMaker::class, + 'FormMaker' => \Grafite\FormMaker\Facades\FormMaker::class, + 'InputMaker' => \Grafite\FormMaker\Facades\InputMaker::class, ]; }