Compare commits

...
12 Commits
Author SHA1 Message Date
Matt Lantz e3d9fe169d Merge pull request #409 from cmizzi/master
Use stable laravel 5.5 version
2017-08-31 10:34:34 -04:00
Cyril Mizzi 06d4296d18 use stable laravel 5.5 version 2017-08-30 15:00:04 +02:00
mlantz 97fa90bf64 Merge branch 'yajra-patch-composer' 2017-08-12 11:48:49 -04:00
mlantz 79f59a016c Merge branch 'patch-composer' of https://github.com/yajra/html into yajra-patch-composer 2017-08-12 11:48:33 -04:00
Matt Lantz 3841eb8c89 Merge pull request #357 from rinvex/patch-1
Support Auto-Discovery
2017-08-12 11:44:36 -04:00
Matt Lantz adf0d91e2c Merge pull request #394 from sroutier/master
Fix getToken() for token().
2017-08-12 11:17:57 -04:00
Sebastien Routier b91158bae5 Fix getToken() for token(). 2017-08-04 19:26:20 -04:00
Arjay Angeles 471a0aa5e4 Add branch alias for 5.5.x-dev.
Add support for auto discovery.
2017-06-24 13:04:09 +08:00
Abdelrahman Omran 291da712f4 Support Auto-Discovery 2017-06-14 14:03:27 +02:00
mlantz a47a02b962 Corrections for master 2017-05-21 23:44:19 -04:00
mlantz d7aba64b44 Master version fix 2017-05-21 23:38:47 -04:00
mlantz e6471f3be1 Master updates 2017-05-21 23:35:56 -04:00
3 changed files with 54 additions and 40 deletions

No files matched your search

-2
View File
@@ -1,10 +1,8 @@
language: php language: php
php: php:
- 5.6
- 7.0 - 7.0
- 7.1 - 7.1
- hhvm
sudo: false sudo: false
+53 -37
View File
@@ -1,41 +1,57 @@
{ {
"name": "laravelcollective/html", "name": "laravelcollective/html",
"description": "HTML and Form Builders for the Laravel Framework", "description": "HTML and Form Builders for the Laravel Framework",
"license": "MIT", "license": "MIT",
"homepage": "http://laravelcollective.com", "homepage": "http://laravelcollective.com",
"support": { "support": {
"issues": "https://github.com/LaravelCollective/html/issues", "issues": "https://github.com/LaravelCollective/html/issues",
"source": "https://github.com/LaravelCollective/html" "source": "https://github.com/LaravelCollective/html"
},
"authors": [
{
"name": "Adam Engebretson",
"email": "adam@laravelcollective.com"
}, },
{ "authors": [
"name": "Taylor Otwell", {
"email": "taylorotwell@gmail.com" "name": "Adam Engebretson",
} "email": "adam@laravelcollective.com"
], },
"require": { {
"php": ">=5.6.4", "name": "Taylor Otwell",
"illuminate/http": "5.4.*", "email": "taylorotwell@gmail.com"
"illuminate/routing": "5.4.*", }
"illuminate/session": "5.4.*", ],
"illuminate/support": "5.4.*", "require": {
"illuminate/view": "5.4.*" "php": ">=7.0.0",
}, "illuminate/http": "5.5.*",
"require-dev": { "illuminate/routing": "5.5.*",
"illuminate/database": "5.4.*", "illuminate/session": "5.5.*",
"mockery/mockery": "~0.9.4", "illuminate/support": "5.5.*",
"phpunit/phpunit": "~5.4" "illuminate/view": "5.5.*"
},
"autoload": {
"psr-4": {
"Collective\\Html\\": "src/"
}, },
"files": [ "require-dev": {
"src/helpers.php" "illuminate/database": "5.5.*",
] "mockery/mockery": "~0.9.4",
} "phpunit/phpunit": "~5.4"
},
"autoload": {
"psr-4": {
"Collective\\Html\\": "src/"
},
"files": [
"src/helpers.php"
]
},
"extra": {
"branch-alias": {
"dev-master": "5.5-dev"
},
"laravel": {
"providers": [
"Collective\\Html\\HtmlServiceProvider"
],
"aliases": {
"Form": "Collective\\Html\\FormFacade",
"Html": "Collective\\Html\\HtmlFacade"
}
}
},
"minimum-stability": "dev",
"prefer-stable": true
} }
+1 -1
View File
@@ -61,7 +61,7 @@ class HtmlServiceProvider extends ServiceProvider
protected function registerFormBuilder() protected function registerFormBuilder()
{ {
$this->app->singleton('form', function ($app) { $this->app->singleton('form', function ($app) {
$form = new FormBuilder($app['html'], $app['url'], $app['view'], $app['session.store']->getToken(), $app['request']); $form = new FormBuilder($app['html'], $app['url'], $app['view'], $app['session.store']->token(), $app['request']);
return $form->setSessionStore($app['session.store']); return $form->setSessionStore($app['session.store']);
}); });