PHP code example of patroklo / improved-links

1. Go to this page and download the library: Download patroklo/improved-links 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/ */

    

patroklo / improved-links example snippets


Patroklo\ImprovedLinks\Providers\ImprovedLinksProvider::class,

\Html::methodLink'('method' => 'POST', 'url', 'title' => null, 'attributes' => [], 'secure' => null, 'escape' => true);

{{ Html::methodLink("PUT", 'site/foobar', 'Submit', ['data' => ['name1' => 'value1, 'name2' => 'value2']]) }}
bash
php artisan vendor:publish