{"id":15164517,"url":"https://github.com/tiknil/wire-table","last_synced_at":"2025-09-30T19:31:20.222Z","repository":{"id":150204635,"uuid":"623019036","full_name":"tiknil/wire-table","owner":"tiknil","description":"Laravel package extending Livewire to easily create useful tables","archived":false,"fork":false,"pushed_at":"2024-06-07T08:26:24.000Z","size":90,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-16T07:10:24.274Z","etag":null,"topics":["laravel","livewire","livewire-tables"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tiknil.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-03T14:27:34.000Z","updated_at":"2024-06-07T08:20:12.000Z","dependencies_parsed_at":"2024-01-15T10:14:07.236Z","dependency_job_id":"55bc37f6-dd2d-4732-89ad-982a6fe4f5b6","html_url":"https://github.com/tiknil/wire-table","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiknil%2Fwire-table","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiknil%2Fwire-table/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiknil%2Fwire-table/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiknil%2Fwire-table/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiknil","download_url":"https://codeload.github.com/tiknil/wire-table/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234767225,"owners_count":18883405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel","livewire","livewire-tables"],"created_at":"2024-09-27T03:24:55.392Z","updated_at":"2025-09-30T19:31:14.892Z","avatar_url":"https://github.com/tiknil.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Livewire extension for building tables\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/tiknil/wire-table.svg?style=flat-square)](https://packagist.org/packages/tiknil/wire-table)\n[![Total Downloads](https://img.shields.io/packagist/dt/tiknil/wire-table.svg?style=flat-square)](https://packagist.org/packages/tiknil/wire-table)\n![GitHub Actions](https://github.com/tiknil/wire-table/actions/workflows/main.yml/badge.svg)\n\nThe aim of this project is to provide a useful boilerplate with sane defaults for building backoffice tables,\nwhile allowing easy customization.\n\n## Installation\n\n`wire-table` requires PHP \u003e= 8.1 and Laravel \u003e= 10.0\n\n```bash\ncomposer require livewire/livewire:^3.0 tiknil/wire-table\n```\n\n\u003e [!NOTE]  \n\u003e Since v1.0.0, wire-table requires livewire 3.0. Use v0.3.2 if you are supporting livewire 2\n\n\n**Optional** you can publish wire-table files for further customization:\n\n```bash\nphp artisan vendor:publish --tag=wiretable:config # Config file\nphp artisan vendor:publish --tag=wiretable:views  # Blade views\nphp artisan vendor:publish --tag=wiretable:lang   # Lang translation files\n```\n\n## Usage\n\nCreate a new component using the `make:wiretable` command:\n\n```bash\nphp artisan make:wiretable UsersTable\n```\n\nThe UsersTable class will be created inside your `app/Livewire` folder.\n\nA basic table:\n\n```php\nclass UsersTable extends WireTable\n{\n    public function query(): Builder\n    {\n        return User::query();\n    }\n\n    public function columns(): array\n    {\n        return [\n            Column::create(\n                label: __('backend.created_at'),\n                key: 'created_at',\n                sort: true\n            ),\n            Column::create(\n                label: __('backend.name'),\n                key: 'name',\n                sort: true\n            ),\n            Column::create(\n                label: __('backend.email'),\n                key: 'email',\n                sort: true\n            ),\n        ];\n    }\n}\n```\n\nInclude it in your blade file:\n\n```\n\u003clivewire:users-table /\u003e\n```\n\n\u003e Remember to include\n\u003e the [livewire javascript and css](https://laravel-livewire.com/docs/2.x/quickstart#install-livewire) in every page\n\u003e where\n\u003e you will be using it.\n\n\u003e The tables are just livewire components, so\n\u003e the [official livewire documentation](https://laravel-livewire.com/docs/2.x)\n\u003e applies here.\n\n### Features\n\n#### See the [docs folder](./docs/README.md) for the full documentation.\n\nQuick links:\n\n- [Columns](./docs/Columns.md)\n- [Row rendering](./docs/Row.md)\n- [Filters](./docs/Filters.md)\n- [Sorting](./docs/Sorting.md)\n- [Pagination](./docs/Pagination.md)\n- [Theme and style](./docs/Theme.md)\n\n### Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n### Security\n\nIf you discover any security related issues, please\nemail [balduzzi.giorgio@tiknil.com](mailto:balduzzi.giorgio@tiknil.com) instead of using the issue\ntracker.\n\n## Credits\n\n- [Giorgio Balduzzi](https://github.com/tiknil)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n----\n\nThis package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com), following the\n[laravelpackage.com](https://laravelpackage.com) documentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiknil%2Fwire-table","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiknil%2Fwire-table","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiknil%2Fwire-table/lists"}