vincej
vincej
2 years ago (38,400 XP)

@alenabdula

It amounts to the same thing, however, anyone doing the cross over and using the fundamentals lesson will pause and ponder over the difference - this is just one simple example:

Illuminate:

   {!! Form::label('last_name', 'Last Name: ',  ['class'=>'col-md-2] ) !!}

Collective:

echo Form::label('last_name', 'Last Name: ',  array('class'=>'col-md-2'));
alenabdula

@vincej That's just Blade Templating Engine in first example. The two are identical. Since this package was extracted, Laravel Collective can't assume you have Blade installed. So they used echo to demonstrate how to use it.

vincej
vincej
2 years ago (38,400 XP)

Yeah, I know it's just blade. When you get into the mind of a newb who is looking at L5 for the first time, it just makes you stop and wonder why there might be a difference between what Jeffrey is teaching in his lesson and what is happening in the "real world".

cheers thanks !

jekinney
jekinney
2 years ago (226,675 XP)

I believe the community took it over to ensure future compatability. Though the current release supports 90% of html 5 elements plus some helpers. Think it is a future thing.

guardian87

Thanks for this @vincej This topic was very usefull for me as well.

expercoder

I am new to Laravel, however when looking at https://packagist.org/packages/illuminate/html it states the following. "This package is abandoned and no longer maintained. The author suggests using the laravelcollective/html package instead". Since the original authors of illuminate/html seem to now encourage laravelcollective/html perhaps this would be the better choice for new laravel programmers and projects?

Please sign in or create an account to participate in this conversation.