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

Laravel 5 Form not found fatal error

I have done following process for resolving the error. -I have added "illuminate/html": "5.*" to composer.json and ran "composer update" -I have added following to config/app.php 'Illuminate\Html\HtmlServiceProvider', 'Form' =>…
RK12
  • 472
  • 3
  • 11
1
vote
1 answer

what is the difference of ~5.0 to "5.1.*"

In laravel compposer i have this "require": { "php": ">=5.5.9", "laravel/framework": "5.1.*", "laravelcollective/html": "~5.0" }, then I found in the doucumentation laravelcollective/htmlto add this in…
jemz
  • 4,987
  • 18
  • 62
  • 102
1
vote
2 answers

How to add a default blank option to a select input field using laravelcollective?

I have a form in which the user can optionally select an option and if the user does not choose an option I need the default value of 'null' be submitted to database. I am using laravel 5.1 so my input field is as follows:
Ali Erfani
  • 682
  • 1
  • 11
  • 27
1
vote
1 answer

Laravel 5.1: Laravelcollective 'Form' not found

I have installed laravelcollective/html as defined here: http://laravelcollective.com/docs/5.1/html. Composer.json's require is: "require": { "php": ">=5.5.9", "laravel/framework": "5.1.*", "shpasser/gae-support-l5": "~1.0", …
pyy
  • 893
  • 1
  • 8
  • 22
1
vote
3 answers

Can't install Laravelcollective/HTML in Laravel 5.1

I have problem when install Laravelcollective/HTML in Laravel 5.1 Install laravelcollective/html document. First, I install through Composer: composer require illuminate/html Message: Using version ~5.0 for illuminate/html ./composer.json has been…
Vĩ Lương
  • 31
  • 1
  • 9
1
vote
1 answer

Laravelcollective in Cloud9 without composer

I'm using Laravel 5.1 in Cloud9 IDE but cannot do a composer update (permission denied), that way I cannot install laravelcollective (Forms/Html) from composer. I try copy the laravelcollective from my local PC and edit the App providers and aliases…
Ique
  • 17
  • 5
1
vote
1 answer

Laravel Collection installation with Composer and Laravel 5

I need help with a problem. I'm learning Laravel 5. And I've found a problem trying to do something. I tried to install Laravel Collection. I go to composer.json and I add this line on require: "laravelcollective/html": "5.1.*" But when I execute…
SeiyaJapon
  • 534
  • 1
  • 7
  • 21
0
votes
1 answer

Is spatie/laravel-html good alternative for abandoned laravelcollective/html?

laravelcollective/html is abandoned. I'm looking for reliable replacement. Many say spatie/laravel-html is good alternative. But I faced with problem of lack of documentation. Example from laravelcollective/html usage: {!! Form::model($user,…
A.T.
  • 81
  • 9
0
votes
0 answers

Problem with form:model and null variable, Missing required parameter for [Route: roles.update] [Missing parameter: Assignmentrole]

Good day to all what happens is I have a problem when using a form:model since it tells me that there is no variable to pass and then reviewing the case is very rare. this my controller. public function store(Request $request) { …
0
votes
0 answers

How to use controller methods in laravel 8 with collective html?

This is code from one of my views, create.blade.php Error: Action PetsController@store not defined. I think this has something to do with Laravel 8 different way to call controller methods. The controller is PetsController and it was created to be a…
Khonshu
  • 15
  • 6
0
votes
0 answers

Trouble with Route in laravel collective and laravel 7.6

I'm new to laravel. When I try to generate a form, the problem occurred. My route Route::get('post/add', "Post1Controller@add"); Route::post('post/store', "Post1Controller@store"); My Post1Controller function add() { return…
0
votes
1 answer

Laravel Save ssh Connection to use it again

I am working on a system that setup ssh connection remotely to another server, to get resources usage info like (CPU, ram, disk ), I am able to get these detail through an ssh connection, but my problem is I want to get CPU usage every 5 sec, to…
Abobaker EngIt
  • 37
  • 1
  • 10
0
votes
1 answer

How to make localization work with laravelcollective/html

I want to translate label. There is label: {{ Form::label('name', 'name') }} So, I need something like: {{ Form::label('name', @lang('messages.name')) }} I have an option, write it with
0
votes
1 answer

LaravelCollective v6.2: Undefined class 'Form' in PhpStorm

I have just installed LaravelCollective v6.2 running $ composer require laravelcollective/html command. I made a form: {!! Form::open(['url' => '/posts']) !!}
0
votes
0 answers

Laravel collective SSH put method not working

I am trying to upload contents from one server to another using LaravelCollective SSH https://laravelcollective.com/docs/5.5/remote I have successfully installed the package and added it in the Laravel providers and generated its config file…
VishnuPrasad
  • 1,078
  • 5
  • 17
  • 36