PHP code example of oneplusone / cmwquery

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

    

oneplusone / cmwquery example snippets


return [
	'cmwquery.php'
];

use OnePlusOne\CMWQuery\Traits\SendCMWRequest;

use SendCMWRequest;
bash
php artisan vendor:publish --tag="cmw-query-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="cmwquery-config"
bash
php artisan vendor:publish --tag="cmwquery-views"