PHP code example of cable8mm / order-sheet
1. Go to this page and download the library: Download cable8mm/order-sheet 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/ */
cable8mm / order-sheet example snippets
OrderSheet::of(OrderSheetType::PlayautoType)
->count(10) // 10 of factories
->header() // sx')
// => Save 10 factories with header in 'dist' folder
$orderSheets = OrderSheet::of(OrderSheetType::PlayautoType)
->count(10) // 10 of factories
->csv(); // export to csv
// => Get 10 factories without header row
$orderSheets = OrderSheet::of(OrderSheetType::PlayautoType)
->count(10) // 10 of factories
->toArray(); // export to array
// => Get 10 factories array without header row