Download the PHP package amir-hossein5/laravel-components without Composer
On this page you can find all versions of the php package amir-hossein5/laravel-components. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-components
This package provides ready to use pagination components using tailwindcss inside (you don't need to have it).
For example instead of :
You may use in blade:
And it previews with gray-circled theme :
But you can change themes and more settings read Usage.
- Installation
- Components
- Themes
Prerequisites
- Laravel 8
- PHP 8
Installation
Components
Pagination
Directive:
Styles:
All parameters of paginate tag :
parameter | description | default |
---|---|---|
:elems="" | pagination items | |
prev="string" | previous button's html | laravel's default |
next="string" | next button's html | laravel's default |
prevInResponsive="string" | previous button's html in responsive pagination | laravel's default |
nextInResponsive="string" | next button's html in responsive pagination | laravel's default |
:showDisabledButtons="boolean" | show disabled buttons when paginator is on first or last page | depends on theme |
:showPaginatorDetails="boolean" | show text "Showing 4 to 6 of 12 results" or not | true |
class="string" | class for pagination main (parent) tag |
for example:
Themes
Pagination
-
light
-
gray
-
light-circled
-
gray-circled
-
light-underlined
-
red-pill
Modification
To modify any component use . For example for pagination and theme of gray:
License
License
All versions of laravel-components with dependencies
PHP Build Version
Package Version
The package amir-hossein5/laravel-components contains the following files
Loading the files please wait ....