PHP code example of armandsar / laravel-quick-view
1. Go to this page and download the library: Download armandsar/laravel-quick-view 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/ */
armandsar / laravel-quick-view example snippets
php
public function create()
{
return quick();
}
php
class UsersController
{
use Armandsar\QuickView\Quick;
public function show($id)
{
$user = User::findOrFail($id)
return $this->quick(['user' => $user]);
}
}