PHP code example of ibnfaroukroqay / dynamics

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

    

ibnfaroukroqay / dynamics example snippets


return [
];

use Ibnfaroukroqay\Dynamics\Dynamics;

$dynamics = new Dynamics();
$response = $dynamics->sendRequst($endpoint,$data);

// or using Facade
use Ibnfaroukroqay\Dynamics\Facades\Dynamics;

$response = Dynamics::sendRequest($endpoint,$data)
bash
php artisan vendor:publish --tag="dynamics-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="dynamics-config"
bash
php artisan vendor:publish --tag="dynamics-views"