1. Go to this page and download the library: Download girover/sequent-numbers 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/ */
girover / sequent-numbers example snippets
// InAController
use \Girover\SequentNumbers\Numbers;
$numbers = new Numbers;
$numbers->from('00000')->to('99999')->get()
// This will return Illuminate\Database\Eloquent\Collection
// InAController
use \Girover\SequentNumbers\Numbers;
$numbers = new Numbers;
$numbers->from("0000")->to("9999");
$numbers->query()->where('number', '>', '1000')->get();
// This will return Illuminate\Database\Eloquent\Collection
$numbers->query()->whereBetween('number', ["5555","7777"])->get();
// This will return Illuminate\Database\Eloquent\Collection
// InAController
use \Girover\SequentNumbers\Numbers;
$numbers = new Numbers;
$numbers->from("0000")->to("9999");
$numbers->storeInTable('my_numbers_table');
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.