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
0
votes
1 answer

How to populate Form::select() with JSON specified data in Laravel 5.5

I am having issues with populating Form::select() laravel collective component. As this question describes : Foreach inside a Form::select in Laravel 4 I do not have a model for built in methods to get data, I am using guzzle to parse json data with…
Fahim Uddin
  • 681
  • 2
  • 10
  • 36
0
votes
1 answer

How to adjust jquery-select2.js code into Laravel-Collective?

I wish to make searchable box using Jquery Select2.js in Laravel-Collective code. This is when before adjust select2.js
{!! Form::label('customer_name', 'Customer Name:') !!} …
JsWizard
  • 1,663
  • 3
  • 21
  • 48
0
votes
1 answer

How to use Collective and Blade to get the time difference in Laravel

I wish to calculate $time_used with using Collective and Blade in Laravel. All date format of time_start, time_stop and time_used is timestamp in DB. I tried to calculate with using Carbon, but I couldn't got time_used. Also "time_start" from…
JsWizard
  • 1,663
  • 3
  • 21
  • 48
0
votes
1 answer

spatie/laravel-newsletter doesn't work on laravel 5.4

Here is the image below See the image of composer command
Arslan Akram
  • 360
  • 1
  • 4
  • 23
0
votes
2 answers

checkbox enable/disable in jquery

I wanna enable input form when I check input checkbox.
Nguyễn Minh Huy
  • 265
  • 4
  • 6
  • 15
0
votes
0 answers

My ajax url can't work on laravel 5.4 , there is no error show?

Contact form for mail send:- Can't pass data through the routes url. The mail send doesn't work. Its a toggle form. So, i can catch all data by using ajax but the ajax url can't work that's why i can't get all data. When i click submit button…
user7824421
0
votes
1 answer

Form model binding isn't working inside section

Parent blade template: @extends('layouts.master') @section('content')
@if(count($errors)) @include('common.errors') @endif {!! Form::model($entry, ['method' => $method, 'class' => 'form-horizontal',…
Audiophile
  • 970
  • 2
  • 8
  • 20
0
votes
1 answer

Laravel how to use code inside collective dropdown

I have an array and i use foreach, below is code @foreach($param2 as $par) {{$par->account}} @endforeach now i want to use the $par->account in drop down i am using below code {!! Form::select('[ 'option' => $par->account ], null,…
Muhammad Kazim
  • 611
  • 2
  • 11
  • 26
0
votes
3 answers

Laravel Form:select() Multi select options not working if array value is numeric

Form:select() I want to select multiple options in select, but its only work if Array index key is string, If array index key is numeric its not working... Any help please.. Working Example: Form::select($field_data['name'], array('L' =>…
Asad Raza
  • 34
  • 1
  • 2
  • 14
0
votes
2 answers

"Action not Defined" but it is

I apologize if this is just a misunderstanding on my part in how to use Laravel. I'm learning Laravel and I'm building a small application, however, I try to make a form in a view to pass data to a Controller but I get the following…
Gabriel I.
  • 123
  • 13
0
votes
2 answers

Laravel Collective select to output null when submitted

I am using Laravel Collective for creating my webform. {!! Form::select('сity_from', ['London', 'Tokyo', 'Moscow'], null, ['placeholder' => 'Choose city'] ) !!} which produces the following html: