PHP code example of nguyenhiep / lunch_booking
1. Go to this page and download the library: Download nguyenhiep/lunch_booking 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/ */
nguyenhiep / lunch_booking example snippets
$user = new Nguyenhiep\BookingLunch\User("111","12345");
//For testing
//$user = new Nguyenhiep\BookingLunch\User("111","12345",false);
$page = $user->login();
$user->book_lunch($page);
php artisan vendor:publish --tag=booking-lunch-config