{"id":18301972,"url":"https://github.com/filamentphp/demo","last_synced_at":"2025-05-14T15:06:02.790Z","repository":{"id":38018008,"uuid":"439066713","full_name":"filamentphp/demo","owner":"filamentphp","description":"Source code for the demo.filamentphp.com website.","archived":false,"fork":false,"pushed_at":"2025-02-03T22:53:51.000Z","size":9562,"stargazers_count":974,"open_issues_count":6,"forks_count":470,"subscribers_count":20,"default_branch":"main","last_synced_at":"2025-04-12T20:43:40.777Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://demo.filamentphp.com","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/filamentphp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2021-12-16T17:03:28.000Z","updated_at":"2025-04-12T01:36:08.000Z","dependencies_parsed_at":"2023-09-22T11:45:19.679Z","dependency_job_id":"2c633e3a-ebd2-4875-8bc3-4a98436e1462","html_url":"https://github.com/filamentphp/demo","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filamentphp%2Fdemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filamentphp%2Fdemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filamentphp%2Fdemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filamentphp%2Fdemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/filamentphp","download_url":"https://codeload.github.com/filamentphp/demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254169016,"owners_count":22026207,"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":[],"created_at":"2024-11-05T15:17:35.478Z","updated_at":"2025-05-14T15:06:02.773Z","avatar_url":"https://github.com/filamentphp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Filament Demo App\n\nA demo application to illustrate how Filament Admin works.\n\n![Filament Demo](https://github.com/filamentphp/demo/assets/171715/899161a9-3c85-4dc9-9599-13928d3a4412)\n\n[Open in Gitpod](https://gitpod.io/#https://github.com/filamentphp/demo) to edit it and preview your changes with no setup required.\n\n## Installation\n\nClone the repo locally:\n\n```sh\ngit clone https://github.com/laravel-filament/demo.git filament-demo \u0026\u0026 cd filament-demo\n```\n\nInstall PHP dependencies:\n\n```sh\ncomposer install\n```\n\nSetup configuration:\n\n```sh\ncp .env.example .env\n```\n\nGenerate application key:\n\n```sh\nphp artisan key:generate\n```\n\nCreate an SQLite database. You can also use another database (MySQL, Postgres), simply update your configuration accordingly.\n\n```sh\ntouch database/database.sqlite\n```\n\nRun database migrations:\n\n```sh\nphp artisan migrate\n```\n\nRun database seeder:\n\n```sh\nphp artisan db:seed\n```\n\n\u003e **Note**  \n\u003e If you get an \"Invalid datetime format (1292)\" error, this is probably related to the timezone setting of your database.  \n\u003e Please see https://dba.stackexchange.com/questions/234270/incorrect-datetime-value-mysql\n\n\nCreate a symlink to the storage:\n\n```sh\nphp artisan storage:link\n```\n\nRun the dev server (the output will give the address):\n\n```sh\nphp artisan serve\n```\n\nYou're ready to go! Visit the url in your browser, and login with:\n\n-   **Username:** admin@filamentphp.com\n-   **Password:** password\n\n## Features to explore\n\n### Relations\n\n#### BelongsTo\n- ProductResource\n- OrderResource\n- PostResource\n\n#### BelongsToMany\n- CategoryResource\\RelationManagers\\ProductsRelationManager\n\n#### HasMany\n- OrderResource\\RelationManagers\\PaymentsRelationManager\n\n#### HasManyThrough\n- CustomerResource\\RelationManagers\\PaymentsRelationManager\n\n#### MorphOne\n- OrderResource -\u003e Address\n\n#### MorphMany\n- ProductResource\\RelationManagers\\CommentsRelationManager\n- PostResource\\RelationManagers\\CommentsRelationManager\n\n#### MorphToMany\n- BrandResource\\RelationManagers\\AddressRelationManager\n- CustomerResource\\RelationManagers\\AddressRelationManager\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilamentphp%2Fdemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilamentphp%2Fdemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilamentphp%2Fdemo/lists"}