PHP code example of meta-engine / laravel-meta

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

    

meta-engine / laravel-meta example snippets


// Example: Direct API Lead Retrieval
$lead = Meta::leads()->get('123456789');

// Map the data to your own application tables manually
Lead::create([
    'name' => $lead->getName(),
    'email' => $lead->getEmail(),
]);
bash
php artisan vendor:publish --tag=meta-config
bash
php artisan meta:test-token
bash
php artisan meta:install-crm