PHP code example of brunocfalcao / larapush

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

    

brunocfalcao / larapush example snippets


    'codebase' => [
        'App', 'database', 'resources/views/file.blade.php', 'webpack.js'
    ],
bash
php artisan larapush:install-remote
bash
php artisan larapush:install-local --client=4 --secret=5DrehY2gjPWTPL4rxzQwseHiQHWq8FXaH0Y --token=WXD2W6ZVK5
bash
php artisan push