PHP code example of windfallinc / woodpecker

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

    

windfallinc / woodpecker example snippets


$page->featimg()

$page->title

@

$page->get_the('field name')

$page->metadesc

$page->keywords

Route::get('/anything', 'WebsiteController@index')->name('anything');
shell
php artisan vendor:publish --tag=woodpecker --force

php artisan migrate
shell
"autoload": {
"files": [
            "app/Http/Controllers/woodpecker-helpers.php"
        ],
 shell
php artisan vendor:publish --tag=woodpeckerupdate --force