{"id":15105808,"url":"https://github.com/mimirtechco/apiato-bap-livewire","last_synced_at":"2025-09-27T05:30:56.129Z","repository":{"id":61293737,"uuid":"550289355","full_name":"mimirtechco/apiato-bap-livewire","owner":"mimirtechco","description":"This Apiato container provides a simple and easy way to Add Livewire to Views.","archived":false,"fork":true,"pushed_at":"2022-10-12T16:05:40.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"dev","last_synced_at":"2024-11-16T17:44:38.522Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"andrekutianski/apiato-livewire","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mimirtechco.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}},"created_at":"2022-10-12T14:04:59.000Z","updated_at":"2022-10-12T16:01:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mimirtechco/apiato-bap-livewire","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/mimirtechco%2Fapiato-bap-livewire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimirtechco%2Fapiato-bap-livewire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimirtechco%2Fapiato-bap-livewire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimirtechco%2Fapiato-bap-livewire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mimirtechco","download_url":"https://codeload.github.com/mimirtechco/apiato-bap-livewire/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234360776,"owners_count":18819955,"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-09-25T20:43:31.978Z","updated_at":"2025-09-27T05:30:50.835Z","avatar_url":"https://github.com/mimirtechco.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Apiato Base Admin Panel Livewire Container\n\napiato-bap-livewire is an Apiato container that brings Base Admin Panel based on LiveWire to Apiato Container instructure.\n\nWith Apiato Base Admin Panel with Livewire you will have a complete based admin panel for your Apiato project.\n\nThis project is only possible thanks to:\n\n* Elshaden/apiato-livewire - https://github.com/Elshaden/apiato-livewire\n* alighasemzadeh/bap - https://github.com/alighasemzadeh/bap\n\n# Laravel  [Livewire](https://laravel-livewire.com/)\n\n\n#### This Apiato container provides a simple and easy way to add Livewire to Views.\n\n#### Github https://github.com/Elshaden/apiato-livewire.git\n   \n\n### Why would anyone use an API  Backend  for a Frontend application?\nWell, if you are familiar with Apiato, you would know that Apiato uses the DDD pattern, Domain Driven Design,\nthis will make your code very well organized, easily maintainable, and most important,\nsimple to have many developers work on the same application.\nWhile, the makers of Apiato, insist that it is mainly focused on API backend, I disagree, Apiato can handle both Web application as a frontend, and at the same time \ndeliver flawless API backend.\n\n_Don't take my word for it..  Go on and give a test run..._\n\n#Usage\n\nIn Existing Apiato Application\n```  \ncomposer require elshaden/apiato-livewire \n\n```  \n\n\n#### Once Installed via Composer Require  to install the container in Apiato Application\n#### [Apiato Container Installer](http://apiato.io/docs/getting-started/container-installer)  for more details\n\n#### To Create a new Livewire Component   V4\n#### V4 uses an Apiato Generator, which will make all necessary boilerplate.\n\n`\nphp artisan apiato:generate:container:livewire\n`\n\n#### you will be prompted to enter the Details of the Component\n- for Section enter Livewire or just enter, the system will create under the Livewire section regardless.\n- for File name just click enter leave as is\n- for the Container  Enter the name of the Container, Not to be confused with the Component, this is just like any other Apiato Container\n- the Component , that is your desired Livewire Component , you can use dots to define subfolders within the same Container\n\n\n#### This will create a new section called  Livewire\n- app\n- Containers\n- AppSection\n- **Livewire**\n  - Configs\n  - Providers\n  - UI\n    - WEB\n    - Routes\n    - Views\n  - \u003cLivewireComponent1 / Or Livewire Component Dir1 \u003e\n  - \u003cLivewireComponent2 / Or Livewire Component Dir2 \u003e\n\n- Vendor\n- ...\n- Livewire\n- ...\n  `\n\n#### usual Livewire Class and View will be created in these folders\n\n### You must change  the render method in the Livewire Component Class\n\n```  \n public function render() {  \n\t\t return view('livewire@\u003cContainerName\u003e::component');  \n }\n ```  \n\n\n### Views\nThe View Must Extend layouts.app   \n`@extends('vendor@livewire::layouts.app')`\n\nIn this view you must call the related Livewrie Component in the @section('content')   \n```\n@section('content')\n\n\u003cdiv\u003e\n@livewire('\u003ccomponent name\u003e') \n\u003c/div\u003e\n@endsection\n\n```\n\n### Blade Components\nYou can Create your own Blade Component and use them in the views\nyou have to register all of them in the Main service provider in the container.\n\nThe same can be done with Livewire UI Modal, which is added by default  \nfor more Details on Livewire UI Modal visit  https://github.com/livewire-ui/modal\n\n#### Now you can use Livewire as Web frontend with Livewire, and all the classes of Apiato at your disposal.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmimirtechco%2Fapiato-bap-livewire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmimirtechco%2Fapiato-bap-livewire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmimirtechco%2Fapiato-bap-livewire/lists"}