From f201a98e6e487bae2ed838d531ac0145a93a94b2 Mon Sep 17 00:00:00 2001 From: Lukas Halbritter Date: Mon, 24 Sep 2018 18:49:24 +0200 Subject: [PATCH] Added the Form and HTML package by the Laravel Collective. --- composer.json | 3 ++- composer.lock | 70 +++++++++++++++++++++++++++++++++++++++++++++++++- config/app.php | 7 +++++ 3 files changed, 78 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 99480c8..03e9dd9 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,8 @@ "doctrine/dbal": "^2.8", "fideloper/proxy": "^4.0", "laravel/framework": "5.6.*", - "laravel/tinker": "^1.0" + "laravel/tinker": "^1.0", + "laravelcollective/html": "^5.4.0" }, "require-dev": { "filp/whoops": "^2.0", diff --git a/composer.lock b/composer.lock index 0607c0c..305a65c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "e875da0d335b8580c952e20b737b50d2", + "content-hash": "3c807e91c39575a8fa656e0c27caaeea", "packages": [ { "name": "dnoegel/php-xdg-base-dir", @@ -883,6 +883,74 @@ ], "time": "2018-05-17T13:42:07+00:00" }, + { + "name": "laravelcollective/html", + "version": "v5.6.10", + "source": { + "type": "git", + "url": "https://github.com/LaravelCollective/html.git", + "reference": "974605fcd22a7e4d19f0b2ef635a0d1d7400387d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/LaravelCollective/html/zipball/974605fcd22a7e4d19f0b2ef635a0d1d7400387d", + "reference": "974605fcd22a7e4d19f0b2ef635a0d1d7400387d", + "shasum": "" + }, + "require": { + "illuminate/http": "5.6.*", + "illuminate/routing": "5.6.*", + "illuminate/session": "5.6.*", + "illuminate/support": "5.6.*", + "illuminate/view": "5.6.*", + "php": ">=7.1.3" + }, + "require-dev": { + "illuminate/database": "5.6.*", + "mockery/mockery": "~1.0", + "phpunit/phpunit": "~7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.6-dev" + }, + "laravel": { + "providers": [ + "Collective\\Html\\HtmlServiceProvider" + ], + "aliases": { + "Form": "Collective\\Html\\FormFacade", + "Html": "Collective\\Html\\HtmlFacade" + } + } + }, + "autoload": { + "psr-4": { + "Collective\\Html\\": "src/" + }, + "files": [ + "src/helpers.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylorotwell@gmail.com" + }, + { + "name": "Adam Engebretson", + "email": "adam@laravelcollective.com" + } + ], + "description": "HTML and Form Builders for the Laravel Framework", + "homepage": "https://laravelcollective.com", + "time": "2018-06-18T15:04:16+00:00" + }, { "name": "league/flysystem", "version": "1.0.46", diff --git a/config/app.php b/config/app.php index b16e7f7..1b3861d 100644 --- a/config/app.php +++ b/config/app.php @@ -160,6 +160,11 @@ return [ App\Providers\EventServiceProvider::class, App\Providers\RouteServiceProvider::class, + /* + * Additional custom Providers + */ + Collective\Html\HtmlServiceProvider::class, + ], /* @@ -189,8 +194,10 @@ return [ 'Eloquent' => Illuminate\Database\Eloquent\Model::class, 'Event' => Illuminate\Support\Facades\Event::class, 'File' => Illuminate\Support\Facades\File::class, + 'Form' => Collective\Html\FormFacade::class, 'Gate' => Illuminate\Support\Facades\Gate::class, 'Hash' => Illuminate\Support\Facades\Hash::class, + 'Html' => Collective\Html\HtmlFacade::class, 'Lang' => Illuminate\Support\Facades\Lang::class, 'Log' => Illuminate\Support\Facades\Log::class, 'Mail' => Illuminate\Support\Facades\Mail::class,