PHP code example of vluzrmos / collective-html

1. Go to this page and download the library: Download vluzrmos/collective-html library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

vluzrmos / collective-html example snippets


$app->register('Collective\Html\HtmlServiceProvider');

class_alias('Collective\Html\HtmlFacade', 'Html');

class_alias('Collective\Html\FormFacade', 'Form');

$app->withFacades()

$app->register('Collective\Html\InjectVarsServiceProvider');

{!! Form::open(['route' => ['route.name', ['id' => $id ] ]]) !!}