Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Table Laravel Package

okipa/laravel-table

View on GitHub
Deep Wiki
Context7
5.3.1
  • Fixed searching SQL request for PostgreSQL by casting every values into text (fixes #129)
5.3.0
  • Added PHP 8.2 support and locked PHP versions to 8.1 and 8.2
  • Dropped Laravel 8 support
  • Added Laravel 10 support
5.2.2
  • Fixed filter reset button missing margin-top class for Bootstrap 4 & 5 templates
5.2.1
  • Added the ability to redefine the entire table positioning when reordering instead of just reversing some possibly incorrect positions
5.2.0
  • Added a new built-in RedirectRowAction, that is now used to render the pre-configured ShowRowAction
  • Added an optional second argument bool $openInNewWindow = false to the ShowRowAction
  • Added a new pre-configured AddHeadAction, that is using the built-in RedirectHeadAction
    • Added a new Add translation for it that you'll have to add to your own translations
    • Added a new config('laravel-table.icon.add') config for it with the <i class="fa-solid fa-circle-plus fa-fw"></i> default value that you'll also have to add to your published configuration file
5.1.2
5.1.1
5.1.0
  • Added ability to chain a ->when(bool $condition) method to an instantiated head action, in order to enable it conditionally
  • Added a new built-in RedirectHeadAction, that is now used to render the pre-configured CreateHeadAction
  • Added an optional second argument bool $openInNewWindow = false to the CreateHeadAction
  • Added a new JavaScript snippet to handle head action link opening in tab: you'll have to add it if you want to benefit from this new ability
5.0.2
  • Fixed wrong form-select class uses for Bootstrap 4 template selects: replaced them by custom-select
  • Fixed Column action still displays original column value with ->when(false) : #103
5.0.1
  • Fixed make:table <TableName> --model=<ModelNamespace> command
5.0.0

2022-09-21

  • Added support for Laravel 9
  • Dropped support for Laravel 7 and earlier versions
  • Added support for PHP 8.1
  • Dropped support for PHP 8.0 and earlier versions
  • Added livewire/livewire dependency as the package is now based on it
  • Removed okipa/laravel-html-helper dependency
  • Replaced phpcs/phpcbf by laravel/pint
  • Added several features :
    • New SPA behaviour
    • New filters ability
    • Head actions (replacing routes declarations)
    • New bulk actions ability
    • Row actions (replacing routes declarations)
    • New ability to search from closure
    • New ability to sort from closure
    • New column actions ability
    • New ability to use built-in column formatters and to create custom ones
    • New drag-and-drop reordering ability

:point_right: See the upgrade guide

4.0.7
  • Fixed search wrong behaviour when rows number is defined to null
4.0.6
  • Added ability to set a timezone when formatting a date/time column with the dateTimeFormat method:
    • Updated column dateTimeFormat method signature to dateTimeFormat(string $dateTimeFormat, string $timezone = null): \Okipa\LaravelTable\Column
    • If no timezone is set, the default one, defined in config('app.timezone') is used
4.0.5
  • Fixed error when appending array data to table with the appendData method
4.0.4
  • Added $type property to src/Console/Commands/MakeTable in order to display correct messages:
    • Table already exists!
    • Table created successfully.
4.0.3
  • Updated table generation stub when called with --model option
4.0.2
  • Fixed #66 : Bugfix to allow the ->rowsConditionalClasses() method to be called several times on a table. In addition, the second $rowClasses argument of this method now accepts array or closure (which let you manipulate a \Illuminate\Database\Eloquent\Model $model attribute)
  • Fixed #68 : Removed useless treatment when data is appended to paginator with ->appendData() method, which led to + character addition when values were containing spaces.
4.0.1
  • Fixed wrong okipa/laravel-html-helper version in composer.json
4.0.0

:point_right: See the upgrade guide

3.1.3
  • Fixed wrong sensitive case searching which was involuntarily executed for JSON database fields instead of insensitive case searching as normal.
3.1.2
3.1.1
3.1.0
  • Reverted the previous change (3.0.1) as the button method without arguments has no visual effect: added instructions in V2 to v3 the upgrade-guide to take care of this new behaviour.
  • Fixed an issue where create action button was not displayed when searching and rows number definition were disabled.
  • Fixed a v3 regression where rows number definition was wrongly named rows number selection at different places (config, templates, methods, ...): this is an unfortunately breaking change if you published config or templates but I take advantage of the early release of the V3 and from the fact that Laravel 8 is not released to do it.
  • Show and edit actions are now triggered by a simple link rather than a form, which was useless as these routes are called with a GET http request.
  • Minor default templates changes in order to give laravel-table a prettier look.
  • Minor default config value changes in order to give laravel-table a prettier look.
3.0.1
  • Fixed Column button method behaviour which is supposed to allow usage without arguments.
3.0.0
  • Added Laravel 8 support
  • Dropped Laravel 6 support
  • Added template customization methods for Table instances :
    • rowsSearchingTemplate
    • rowsNumberSelectionTemplate
    • createActionTemplate
    • columnTitlesTemplate
    • navigationStatusTemplate
    • paginationTemplate
  • Updated templates

:point_right: See the upgrade guide

2.0.0
  • Dropped support for PHP versions under 7.4.
  • Dropped support for Laravel versions under 6.0.
  • Restructured configuration file.
  • Removed translation files.
  • Updated templates.
  • Removed the deprecated methods.
  • Refactored the whole architecture to facilitate code comprehension and maintenance.
  • New architecture and usage.

:point_right: See the upgrade guide

1.5.0
  • Deprecated the ->icon() method.
  • Added the ->prepend() method to the table columns (which will replace the previous ->icon() one) to prepend HTML to a column value.
  • Added the ->append() method to the table columns to append HTML to a column value.
1.4.0
  • Added more granularity in the template customization possibilities : the show, edit and destroy actions are now defined in their own component. This way, it becomes easier to customize tiny parts of the table without touching to the others.
    • Added config('laravel-table.template.show'), config('laravel-table.template.edit') and config('laravel-table.template.destroy') configs to set each new default component path.
    • Added ->showTemplate(), ->editTemplate() and ->destroyTemplate() to give the ability to customize these templates on the fly.
  • Added fallback path for each template if the config value is not defined, in order to prevent any update breaking change.
1.3.0
  • Tests have been migrated from Travis to Github actions.
  • Added PHP7.4 support.
  • Added Laravel 7 support.
  • Dropped Laravel support before 5.8 version.
  • Dropped PHP support before 7.2 version.
  • Reworked documentation.
1.2.7
  • Fixed missing column when the show action is the only one defined.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky