{"id":20397192,"url":"https://github.com/litstack/bricks","last_synced_at":"2026-04-20T06:32:16.256Z","repository":{"id":248681008,"uuid":"331940286","full_name":"litstack/bricks","owner":"litstack","description":"Pre-built repeatables for blocks","archived":false,"fork":false,"pushed_at":"2023-07-26T13:57:52.000Z","size":173,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-12T01:47:45.484Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/litstack.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":"2021-01-22T12:30:41.000Z","updated_at":"2024-07-16T09:44:33.000Z","dependencies_parsed_at":"2024-07-16T13:27:03.991Z","dependency_job_id":"6386d823-884c-4563-a4e7-82d6cda3a410","html_url":"https://github.com/litstack/bricks","commit_stats":null,"previous_names":["litstack/bricks"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/litstack/bricks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litstack%2Fbricks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litstack%2Fbricks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litstack%2Fbricks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litstack%2Fbricks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/litstack","download_url":"https://codeload.github.com/litstack/bricks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litstack%2Fbricks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32036373,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-15T04:12:09.999Z","updated_at":"2026-04-20T06:32:16.236Z","avatar_url":"https://github.com/litstack.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Litstack Bricks 🧱\n\nPre-built Repeatables and Templates for common Webcontents.\n\n## Install\n\n`composer require litstack/bricks`\n\n`php artisan lit-bricks:install`\n\n## Usage\n\nAdd the desired Repeatables to your blocks:\n\n```php\nuse Litstack\\Bricks\\Repeatables\\TextRepeatable;\n\n$page-\u003ecard(function ($form) {\n    $form-\u003eblock('content')\n        -\u003etitle('My Content')\n        -\u003erepeatables(function ($repeatables) {\n            $repeatables-\u003eadd(TextRepeatable::class);\n        });\n});\n```\n\nReturn a view, pass it the formdata:\n\n```php\nreturn view('welcome')-\u003ewith([\n    'form' =\u003e Form::load('pages', 'home')\n]);\n```\n\nAdd the block to your template:\n\n```php\n@block($form-\u003econtent)\n```\n\n## Customize Templates\n\nYou can publish the templates to `resources/views/vendor/bricks/` and edit them to your needs:\n\n```shell\nphp artisan vendor:publish --provider=\"Litstack\\Bricks\\BricksServiceProvider --tag=views\"\n```\n\n## Components\n\n-   [Carousel](docs/Carousel.md)\n-   [Edgedrop](docs/Edgedrop.md)\n-   [Map](docs/Map.md)\n-   [Modal](docs/Modal.md)\n-   [Navigation](docs/Navigation.md)\n-   [Tooltip](docs/Tooltip.md)\n\n## Repeatables\n\n| Name                        | Fields                 |  Usage                                                                 |\n| --------------------------- | ---------------------- | ---------------------------------------------------------------------- |\n| TextRepeatable::class       | WYSIWYG                | Simple Text-Repeatable                                                 |\n| ImageRepeatable::class      | image                  | Single Image-Repeatable using `\u003cx-lit-image /\u003e` Component              |\n| ImagesRepeatable::class     | image                  | Multiple Image-Repeatable using `\u003cx-lit-image /\u003e` Component            |\n| ImageSlideRepeatable::class | image, input, textarea | Image-Repeatable using `\u003cx-lit-image /\u003e` Component, Input and Textarea |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitstack%2Fbricks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flitstack%2Fbricks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitstack%2Fbricks/lists"}