{"id":15023035,"url":"https://github.com/26b/backstate","last_synced_at":"2026-02-07T17:04:36.687Z","repository":{"id":38454070,"uuid":"347155405","full_name":"26B/backstate","owner":"26B","description":"Collection of ready to use components.","archived":false,"fork":false,"pushed_at":"2024-01-25T13:27:58.000Z","size":154,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-03T02:04:32.074Z","etag":null,"topics":["blade-template","laravel","livewire"],"latest_commit_sha":null,"homepage":"","language":"Blade","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/26B.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-03-12T18:07:43.000Z","updated_at":"2022-05-17T20:29:59.000Z","dependencies_parsed_at":"2024-09-17T19:35:44.079Z","dependency_job_id":"bdad837b-2b44-4dbe-a9d6-f054fc5052b7","html_url":"https://github.com/26B/backstate","commit_stats":{"total_commits":21,"total_committers":4,"mean_commits":5.25,"dds":0.4285714285714286,"last_synced_commit":"c0f9ae7ba1c86c55cdc27828c209e36771ffd6b6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/26B%2Fbackstate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/26B%2Fbackstate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/26B%2Fbackstate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/26B%2Fbackstate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/26B","download_url":"https://codeload.github.com/26B/backstate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247149510,"owners_count":20891954,"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":["blade-template","laravel","livewire"],"created_at":"2024-09-24T19:58:39.750Z","updated_at":"2026-02-07T17:04:36.646Z","avatar_url":"https://github.com/26B.png","language":"Blade","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BackState\n\nLaravel package with **blade** and **livewire** components defining base logic/state and, also, layouts to use in your laravel project.\n\n## How to use\n\nLet's imagine this package has defined a livewire component (is the same thing for blade) called *Example*:\n\n```php\n\u003c?php\n\nnamespace TwentySixB\\BackState\\Components\\Livewire;\n\nuse Livewire\\Component;\n\nclass Example extends Component\n{\n    /**\n     * Hiding component logic since it does not make a difference for the illustration.\n     */\n\n    /**\n     * Get the view / contents that represent the component.\n     *\n     * @return \\Illuminate\\Contracts\\View\\View|string\n     */\n    public function render()\n    {\n        return view('backstate::livewire.example');\n    }\n}\n```\n\nand we want to use it in our project in the view called *my-view*:\n\n```html\n\u003c!-- resources/views/my-view.blade.php --\u003e\n\n@extends('layouts.app')\n\n@section('content')\n    {{-- Calling backstate component `example` --}}\n    \u003cbackstate:example/\u003e\n@endsection\n```\n\nIf, for some reason, you want to override the component view, just create the folder `resources/views/vendor/backstate/livewire/` defining here the components views we want to modify, like:\n\n```html\n\u003c!-- resources/views/vendor/backstate/livewire/example.blade.php --\u003e\n\n\u003cdiv\u003e\n    {{ __('New component view') }}\n\u003c/div\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F26b%2Fbackstate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F26b%2Fbackstate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F26b%2Fbackstate/lists"}