PHP code example of singlephon / rift
1. Go to this page and download the library: Download singlephon/rift 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/ */
singlephon / rift example snippets
bash
php artisan rift:make counter
COMPONENT CREATED 🤙
CLASS: app/Livewire/Rift/Counter.php
VIEW: resources/views/rift/counter.blade.php
JS: resources/js/rift/counter.js
resources/views/rift/counter.blade.php