Questions tagged [laravelcollective]

Use for questions about use of or contribution to the LaravelCollective; a collection of Laravel components such as Annotations, Html, Form, SSH, that have been removed from the core Laravel framework.

As the Laravel PHP Framework has grown, and the set of core components has been refined, some components that were once part of the core features have been removed.

The Laravel Collective Community exists to continue support and evolution of these components.

Documentation for LaravelCollective Packages.

List of Laravel Collective components

  • bus: Laravel Command Bus
  • html: HTML and Form Builders for the Laravel Framework
  • remote: Remote SSH Access for the Laravel Framework
  • iron-queue: IronMQ Driver For Laravel Queue
  • annotations: Route and Event Annotations for the Laravel Framework

References

281 questions
3
votes
1 answer

laravel form model binding not working laravel 5.4

I have gone through similar posts on SO but nothing has worked for me and also not found relative answer. Even it is not updating data. {!! Form::model($editClient, [ 'method' => 'PATCH','route' => ['clients.update', $editClient->id],'class' =>…
Qasim Ali
  • 587
  • 2
  • 11
  • 28
3
votes
2 answers

Laravel Collective HTML5 attributes

How do I pass in an HTML5 attributes like: required, auto focus...? I can enter other attributes which have name="value", but not an attribute that consist of only one word.
Guntar
  • 473
  • 8
  • 23
3
votes
1 answer

Getting error 'The first argument should be either a string or an integer' in Laravel 5.2

I'm trying to build simple login form using following code: {!! Form::open(['class'=>'login-form', 'method'=>'post', 'action'=>'AdminUserController@store']) !!}

Sign In

Nitish Kumar
  • 6,054
  • 21
  • 82
  • 148
3
votes
1 answer

Laravel 5.2, LaravelCollective 5.2, Class 'Html' not found

I followed these steps but still getting "Html" class not found. added in composer.json "require": { "laravelcollective/html": "5.2.*" } once installed, added these lines in config/app.php 'providers' => [ // ... …
Qazi
  • 5,015
  • 8
  • 42
  • 62
3
votes
1 answer

Laravel 5: Installing Form and HTML classes without composer

I'm interested in installing Form and HTML classes on Laravel 5 without composer. How can I do this? For those wanting to convince me to use composer: 1) I want to see what it does by doing it manually myself at least once. 2) There is no composer…
Alan
  • 1,322
  • 1
  • 21
  • 36
2
votes
3 answers

Can not use controller name in laravel, must use namespace

Blade view and PostsController When I use {!! Forms::open(['method'=>'post', 'action'=>'PostsController@store']) !!} It errors out. But when I use {!! Forms::open(['method'=>'post', 'action'=>'App\Http\Contollers\PostsController@store']) !! It…
2
votes
2 answers

Making a radio button checked in laravel collectives

How to make a radio button checked in laravel collectives? {{Form::radio('gender','1',['class'=>'form-check-input'])}} I'm taking the value from the database and I need to select the appropriate gender value. $data->gender Full code is as…
harinsamaranayake
  • 751
  • 2
  • 12
  • 32
2
votes
2 answers

Pass dynamic value to Laravel max validation rule

I am working on a sales laravelcollective form whereby the sale_quantity entered should not be more than the stock_quantity in DB. When I use the idea at: Laravel validate dynamically added input with custom messages there is one answer…
2
votes
0 answers

fileinfo.dll missing despite being un-commented in php.ini

I'm learning laravel and trying to install laravel collective. Using Xampp, PHP 7.3.4, Laravel 5.8.14. I get the following issue in GitBash when trying to do so: Your requirements could not be resolved to an installable set of packages. Problem 1 -…
Bethany
  • 121
  • 1
2
votes
1 answer

how to create optgroup with laravel collective?

I need to create a optgroupt with laravel collective. Below is my current code: How to create a textarea wiht…
C47
  • 639
  • 10
  • 19
2
votes
2 answers

How to ensure that value chosen in one dropdownlist will change values of another dropdownlist in Laravel

I was developing Laravel project and what I want to achieve is that when a user picks a certain value in dropdownlist, it should influence other dropdownlists in the view, that is, if user selects Income in the first dropdown then Expense…
Mirasan
  • 259
  • 1
  • 4
  • 16
2
votes
1 answer

Create manual submit button for Laravel Collective Form

I'm developing a Laravel application, which uses set of Forms. Here I'm changing the form type when dropdown item selected. Here is a code snippt for that blade view. @extends('layout.app') @section('content')
JsWizard
  • 1,663
  • 3
  • 21
  • 48
2
votes
0 answers

Laravel 5.5 LaravelCollective Form in Blade - calls Validator before Controller@store

Validator for UNIQUE generates SQL from DatabasePresenceVerifier for the form request which has required|unique validation rules. Removing unique the validator works fine for the other rules. Validator for UNIQUE uses the default SQL connection…
1 2
3
18 19