PHP code example of larafun / suite
1. Go to this page and download the library: Download larafun/suite 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/ */
larafun / suite example snippets
namespace App\Models;
use Larafun\Suite\Model;
class Book extends Model
{
}
class BookController extends Controller
{
// ...
public function index()
{
return Book::where('author', 'Isaac Asimov')->skip(2)->take(5)->get();
}