PaginationServiceProvider::when()

array when() Get the events that trigger this service provider to register. Return Value array

PaginationServiceProvider::register()

void register() Register the service provider. Return Value void

PaginationServiceProvider::provides()

array provides() Get the services provided by the provider. Return Value array

PaginationServiceProvider::pathsToPublish()

static array pathsToPublish(string $provider = null, string $group = null) Get the paths to publish. Parameters string $provider string $group Return Value array

PaginationServiceProvider::isDeferred()

bool isDeferred() Determine if the provider is deferred. Return Value bool

PaginationServiceProvider::compiles()

static array compiles() Get a list of files that should be compiled for the package. Return Value array

PaginationServiceProvider::commands()

void commands(array|mixed $commands) Register the package's custom Artisan commands. Parameters array|mixed $commands Return Value void

PaginationServiceProvider::boot()

void boot() Bootstrap any application services. Return Value void

PaginationServiceProvider

PaginationServiceProvider class PaginationServiceProvider extends ServiceProvider (View source) Methods void __construct(Application $app) Create a new service provider instance. from ServiceProvider static array pathsToPublish(string $provider = null, string $group = null) Get the paths to publish. from ServiceProvider void commands(array|mixed $commands) Register the package's custom Artisan commands. from ServiceProvider array provides() Get the services provided by the pro

Pagination

Pagination Introduction Basic Usage Paginating Query Builder Results Paginating Eloquent Results Manually Creating A Paginator Displaying Pagination Results Converting Results To JSON Customizing The Pagination View Paginator Instance Methods Introduction In other frameworks, pagination can be very painful. Laravel's paginator is integrated with the query builder and Eloquent ORM and provides convenient, easy-to-use pagination of database results out of the box. The HTML generated by the