laravel-table

Generate tables from Eloquent models.

MIT License

Downloads
48.8K
Stars
534
Committers
8

Bot releases are hidden (Show)

laravel-table - Latest Release

Published by Okipa over 1 year ago

  • Fixed searching SQL request for PostgreSQL by casting every values into text (fixes #129)
laravel-table -

Published by Okipa over 1 year ago

  • Added PHP 8.2 support and locked PHP versions to 8.1 and 8.2
  • Dropped Laravel 8 support
  • Added Laravel 10 support
laravel-table -

Published by Okipa almost 2 years ago

  • Fixed filter reset button missing margin-top class for Bootstrap 4 & 5 templates
laravel-table -

Published by Okipa almost 2 years ago

  • Added the ability to redefine the entire table positioning when reordering instead of just reversing some possibly incorrect positions
laravel-table -

Published by Okipa almost 2 years ago

  • 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
laravel-table -

Published by Okipa almost 2 years ago

laravel-table -

Published by Okipa almost 2 years ago

laravel-table -

Published by Okipa almost 2 years ago

  • 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
laravel-table -

Published by Okipa about 2 years ago

  • 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
laravel-table -

Published by Okipa about 2 years ago

  • Fixed make:table <TableName> --model=<ModelNamespace> command
laravel-table -

Published by Okipa about 2 years ago

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

👉 See the upgrade guide

laravel-table -

Published by Okipa over 2 years ago

  • Fixed search wrong behaviour when rows number is defined to null
laravel-table -

Published by Okipa over 2 years ago

  • 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
laravel-table -

Published by Okipa over 2 years ago

  • Fixed error when appending array data to table with the appendData method
laravel-table -

Published by Okipa about 3 years ago

  • Added $type property to src/Console/Commands/MakeTable in order to display correct messages:
    • Table already exists!
    • Table created successfully.
laravel-table -

Published by Okipa over 3 years ago

  • Updated table generation stub when called with --model option
laravel-table -

Published by Okipa almost 4 years ago

  • 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.
laravel-table -

Published by Okipa almost 4 years ago

  • Fixed wrong okipa/laravel-html-helper version in composer.json
laravel-table -

Published by Okipa almost 4 years ago

👉 See the upgrade guide

laravel-table -

Published by Okipa about 4 years ago

  • Fixed wrong sensitive case searching which was involuntarily executed for JSON database fields instead of insensitive case searching as normal.
Package Rankings
Top 5.77% on Packagist.org
Badges
Extracted from project README
Donate Donate
Related Projects