diff --git a/composer.json b/composer.json index 070f02f..53650c9 100644 --- a/composer.json +++ b/composer.json @@ -17,18 +17,18 @@ } ], "require": { - "php": "^8.1", - "illuminate/support": "^10.0", - "illuminate/routing": "^10.0", - "illuminate/database": "^10.0", - "laravelcollective/html": "^6.4.1", - "rap2hpoutre/fast-excel": "^5.1" + "php": "^8.2", + "illuminate/support": "^11.0", + "illuminate/routing": "^11.0", + "illuminate/database": "^11.0", + "rap2hpoutre/fast-excel": "^5.4.0", + "spatie/laravel-html": "^3.7" }, "require-dev": { - "phpunit/phpunit" : "^10", + "phpunit/phpunit" : "^10|^11", "larastan/larastan": "^2.9", "rector/rector": "^1.0", - "orchestra/testbench": "^8.21", + "orchestra/testbench": "^9", "pestphp/pest": "^2.34", "pestphp/pest-plugin-laravel": "^2.3" }, @@ -48,7 +48,7 @@ }, "extra": { "branch-alias": { - "dev-master": "10.x-dev" + "dev-master": "11.x-dev" }, "laravel": { "providers": [ @@ -60,5 +60,13 @@ "allow-plugins": { "pestphp/pest-plugin": true } - } + }, + "minimum-stability": "dev", + "prefer-stable": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/yajra" + } + ] } diff --git a/src/Views/form.blade.php b/src/Views/form.blade.php index faa0dd7..309cb84 100644 --- a/src/Views/form.blade.php +++ b/src/Views/form.blade.php @@ -1,26 +1,26 @@
- {{app('form')->select('region_id', $regions, null, ['class' => 'form-control', 'id' => 'region_id'])}} + {{html()->select('region_id', $regions)->class('form-control')}} {{$errors->first('region_id')}}
- {{app('form')->select('province_id', [], null, ['class' => 'form-control', 'id' => 'province_id'])}} + {{html()->select('province_id')->class('form-control')}} {{$errors->first('province_id')}}
- {{app('form')->select('city_id', [], null, ['class' => 'form-control', 'id' => 'city_id'])}} + {{html()->select('city_id')->class('form-control')}} {{$errors->first('city_id')}}
- {{app('form')->select('barangay_id', [], null, ['class' => 'form-control', 'id' => 'barangay_id'])}} + {{html()->select('barangay_id')->class('form-control')}} {{$errors->first('barangay_id')}}
- {{app('form')->text('street', null, ['class' => 'form-control'])}} + {{html()->text('street')->class('form-control')}} {{$errors->first('street')}}