Weave 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
Avalynx Table

Avalynx Table Laravel Package

avalynx/avalynx-table

Avalynx Table is a lightweight PHP package for building sortable, searchable, paginated data tables. It offers a straightforward API for defining columns, querying data, and rendering clean, customizable tables in Laravel or plain PHP projects with minimal setup.

Deep Wiki
Context7

Avalynx Table is a lightweight PHP table builder that turns arrays and database results into clean, semantic HTML tables with minimal configuration. It favors server-side rendering and predictable markup, making it easy to drop into Laravel applications or plain PHP projects without a frontend build step.

  • Fluent API for defining columns, headers, and cell formatters
  • Works with arrays, Eloquent collections, and query results
  • Blade-friendly markup with no JavaScript dependency
  • Extensible renderers for custom table and row output
  • Simple Laravel integration with sensible defaults
Frequently asked questions about Avalynx Table
How do I install AvalynxTable with Composer?
Run composer require avalynx/avalynx-table in your project root. In Laravel, you can then use the package's API in controllers or Blade views to build tables. Check the package's composer.json for any additional setup steps or suggested Bootstrap asset requirements.
Does AvalynxTable require Bootstrap?
Yes, AvalynxTable leverages Bootstrap 5.3 or higher for its styling and responsive breakpoint behavior. You should include Bootstrap CSS in your Laravel layout or plain PHP template to get the intended table appearance. The package itself is lightweight and dependency-free for table logic, but Bootstrap is the visual foundation.
How do I create a dynamic HTML table with AvalynxTable?
Instantiate the table with your data and define the columns you want to display. The package provides a simple API for configurable columns, sorting, pagination, and clean HTML output. You can then render that output in a Blade view or plain PHP template.
Can I sort and paginate data in AvalynxTable?
Yes, AvalynxTable supports sorting and pagination as configurable table features. You enable or configure them through the table API when building the table. For large datasets, use pagination to keep rendering and page load times reasonable.
How do I customize columns in AvalynxTable?
Columns are configurable through the package API, so you can define labels, data mappings, and display behavior. You can also apply your own CSS classes to the generated table markup to match your Laravel application's design. Refer to the package documentation for the exact column configuration methods.
Which Laravel versions does AvalynxTable support?
The provided package context does not include a specific Laravel version matrix. AvalynxTable is a Composer package intended to fit into Laravel applications, but you should check its composer.json requirements for the exact Laravel and PHP versions supported by your release. Test against your application's Laravel version before upgrading.
Can I use AvalynxTable without Laravel?
Yes, AvalynxTable is a PHP package that can be used in plain PHP applications as well as Laravel. You still need to include Bootstrap 5.3 or higher assets for the responsive table styling. Install it via Composer and call its API directly from your PHP templates.
How does AvalynxTable handle responsive table layouts?
AvalynxTable uses Bootstrap's responsive breakpoints; when the table's breakpoint is reached, rows and columns stack on top of each other. This creates an easily readable view on smaller screens without requiring a separate mobile table implementation. You configure the breakpoint as part of the table setup.
How do I test AvalynxTable output in a Laravel application?
Render a table in a test route or view and assert the generated HTML contains the expected headers, row data, sorting links, and pagination markup. Because AvalynxTable outputs clean HTML, Laravel's HTTP or view test assertions can verify the structure. You can also unit test your column configuration and data mapping separately.
What should I consider before using AvalynxTable in production?
Ensure Bootstrap 5.3 or higher is included and test the responsive stacking at your chosen breakpoint. Use pagination for large datasets and pin a stable package version in composer.json. For advanced needs like AJAX loading or inline editing, compare alternatives such as DataTables or Laravel Livewire tables; also review the package's release activity for maintenance.
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.
vento/laravel-airbrake
wfeller/laravel-batch
maco-studios/mage-os-installer
busarm/armie
siberfx/laravel-logger
kfteam1991/dcat-admin
dashed/dashed-laposta
dashed/dashed-ecommerce-montaportal
dashed/dashed-ecommerce-etsy
neohq/string-blade-compiler
log1x/acf-composer
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core
nodisrupt/laravel-agent
sierratecnologia/media-manager