PHP code example of itstudioat / vuedata

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

    

itstudioat / vuedata example snippets

bash
...
use Itstudioat\Vuedata\Services\VuedataService;
...


$data = [
    'hpm' => $array['hpm'],
    'new_test' => 17,
    'homepageStore' => $array['homepageStore'],
];

$answer = $vuedataService->write('vendor/hpm/js/pages/pv_homepage/App.vue', $data);
return $answer;