{"id":21558743,"url":"https://github.com/medilies/trying-splade","last_synced_at":"2026-04-16T17:34:04.597Z","repository":{"id":105028322,"uuid":"549240074","full_name":"medilies/trying-splade","owner":"medilies","description":"Trying splade","archived":false,"fork":false,"pushed_at":"2022-10-11T22:04:46.000Z","size":3037,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T10:47:36.447Z","etag":null,"topics":["components","laravel","splade","tables"],"latest_commit_sha":null,"homepage":"https://splade.dev/docs","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/medilies.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-10-10T22:27:21.000Z","updated_at":"2022-11-02T12:20:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"2d27833e-372d-4144-b366-d9706260103d","html_url":"https://github.com/medilies/trying-splade","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medilies%2Ftrying-splade","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medilies%2Ftrying-splade/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medilies%2Ftrying-splade/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medilies%2Ftrying-splade/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/medilies","download_url":"https://codeload.github.com/medilies/trying-splade/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244153327,"owners_count":20406995,"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":["components","laravel","splade","tables"],"created_at":"2024-11-24T08:15:42.132Z","updated_at":"2025-10-26T09:10:33.055Z","avatar_url":"https://github.com/medilies.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Trying splade\n\n## Setup steps\n\n```bash\nlaravel new trying-splade\n```\n\n```bash\ncd trying-splade\n```\n\n```bash\ncomposer require protonemedia/laravel-splade\n```\n\n```bash\nphp artisan splade:install\n```\n\n```bash\nnpm install\n```\n\nRun dev servers:\n\n```bash\nnpm run dev\n```\n\n```bash\nphp artisan serv\n```\n\n## Fast data with elaborate-code/laravel-algerian-provinces\n\n```bash\ncomposer require elaborate-code/laravel-algerian-provinces\n```\n\n## Basic table\n\n```php\n// routes\\web.php\n\nuse ElaborateCode\\AlgerianProvinces\\Models\\Wilaya;\nuse Illuminate\\Support\\Facades\\Route;\nuse ProtoneMedia\\Splade\\SpladeTable;\n\nRoute::get('/', function () {\n\n    $wilayas = Wilaya::paginate(10);\n\n    return view('home')\n        -\u003ewith(\n            'wilayas',\n            SpladeTable::for($wilayas)\n                -\u003ecolumn('id')\n                -\u003ecolumn('fr_name')\n                -\u003ecolumn('ar_name')\n        );\n})\n    -\u003emiddleware(['splade'])\n    -\u003ename('home');\n```\n\n```html\n\u003c!-- resources\\views\\home.blade.php --\u003e\n\n\u003cx-layout\u003e\n    \u003cx-slot name=\"header\"\u003e {{ __('Home') }} \u003c/x-slot\u003e\n\n    \u003cx-panel class=\"flex flex-col items-center pt-16 pb-16\"\u003e\n        \u003cx-application-logo class=\"block h-12 w-auto\" /\u003e\n\n        \u003cdiv class=\"mt-8 text-2xl\"\u003e\n            \u003cx-splade-table :for=\"$wilayas\" /\u003e\n        \u003c/div\u003e\n    \u003c/x-panel\u003e\n\u003c/x-layout\u003e\n```\n\n### Results\n\nOn `http://127.0.0.1:8000/?page=4`\n\n![table](results.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmedilies%2Ftrying-splade","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmedilies%2Ftrying-splade","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmedilies%2Ftrying-splade/lists"}