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
1
vote
0 answers

How to load view blade after Ajax Success

I want to display the blade form after ajax success but the result is not rendered properly ... CategoryController.php public function edit($id) { $categories = Category::find( $id ); return view( 'modules.category._form', compact(…
Anan Andi
  • 11
  • 3
1
vote
1 answer

How to write ternary operator inside laravelcollective form tags

I am using laravelcollective in blade template to define forms and facing the following issue. If i am using HTML in balde template it's working fine. HTML:
Kiran Kumar P
  • 113
  • 2
  • 8
1
vote
1 answer

Text Area and Null, Laravel Collective

I've been using Laravel Collective for my forms and I seem to have encountered an issue with textareas. One that won't let me update null textarea fields with the same code I would use for a text field. I think the issue is with 'null' as it allows…
1
vote
0 answers

LaravelCollective create single Form Select from 2 tables combined

I have 2 tables, country and city: table 'country' +----+------------+ | id | name | +----+------------+ | 1 | Indonesia | | 2 | Malaysia | +----+------------+ country has many city, so country_id is the foreign key: table…
1
vote
2 answers

How to install laravelcollective html in laravel 5 without using composer

I'm using laravel 5.5 and I want to install laravelcollective without using composer. I have followed steps mentioned in other questions to install it in laravel 5.2 but it is generating the following error. Class Collective\Html\HtmlServiceProvider…
1
vote
1 answer

Laravel Collective/html Form - 3 column

I am using Laravel Collective/html Form to create my views in Laravel, and I would want a 3 column view, I cant figure out to remove the spaces between one input to the other, I would like to have a space between the inputs This my form code
1
vote
1 answer

Laravel Collective Checkbox return null value from form

I'm trying to figure out the collective's checkbox function. Here are the code in the blade template: {{ Form::model($record, ['route' => ['access_record.update', $record->id], 'method' => 'put']) }} {{ Form::checkbox('IsApprove', 1, true) }} …
Howard Hsiao
  • 13
  • 1
  • 4
1
vote
2 answers

Only show button to loged-in user in Laravel-Collective

How to insert @if statement for only show the "red color delete action button" to loged-in user in below code? {!! Form::open(['route' => ['jobs.destroy', $job->id], 'method' => 'delete']) !!}
JsWizard
  • 1,663
  • 3
  • 21
  • 48
1
vote
1 answer

select option in html change to laravel collective form with for loop

how can i change my html form to laravel collective form
Amin
  • 413
  • 6
  • 12
1
vote
1 answer

Laravel & LaravelCollective The first argument should be either a string or an integer

Im trying to create DELETE button in my Laravel CRUD app. and have an error: (2/2) ErrorException array_key_exists(): The first argument should be either a string or an integer My view: {{!!Form::open(['action' => ['CompanyController@update',…
qqmydarling
  • 167
  • 1
  • 7
  • 16
1
vote
1 answer

Laravel form builder multi select selected items

Have an issue with showing selected items in multi select. Have a 'filter.blade.php' sub view inside a 'index.blade.php' entity view Sub view fragment, form input, one of several multi selects:
{!!…
1
vote
0 answers

Unable to connect to remote server - Laravel 4.1

I want to execute some commands in a remote server using SSH. This is my configuration : 'connections' => [ 'production' => [ 'host' => '172.55.81.20', 'username' => 'user', 'password' => '', 'key' =>…