{"id":25902465,"url":"https://github.com/bedus-creation/inertiajs-form-builder","last_synced_at":"2025-06-28T08:37:38.119Z","repository":{"id":275838012,"uuid":"927303402","full_name":"bedus-creation/inertiajs-form-builder","owner":"bedus-creation","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-04T20:36:47.000Z","size":102,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T03:16:15.960Z","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/bedus-creation.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":"2025-02-04T18:30:14.000Z","updated_at":"2025-02-04T20:36:50.000Z","dependencies_parsed_at":"2025-02-04T21:27:35.431Z","dependency_job_id":"21d64c89-195e-4b69-b003-afb3ccb39c12","html_url":"https://github.com/bedus-creation/inertiajs-form-builder","commit_stats":null,"previous_names":["bedus-creation/inertiajs-form-builder"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bedus-creation/inertiajs-form-builder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bedus-creation%2Finertiajs-form-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bedus-creation%2Finertiajs-form-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bedus-creation%2Finertiajs-form-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bedus-creation%2Finertiajs-form-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bedus-creation","download_url":"https://codeload.github.com/bedus-creation/inertiajs-form-builder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bedus-creation%2Finertiajs-form-builder/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262402550,"owners_count":23305657,"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":"2025-03-03T03:16:18.000Z","updated_at":"2025-06-28T08:37:38.060Z","avatar_url":"https://github.com/bedus-creation.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MantraPHP\nThe Form builder library for InertiaJs Laravel\n\n\u003e This package is in development stage.\n\n## Development Plans\n* [ ] Fields\n  * [ ] TextInput\n    * [x] Label\n    * [x] Type\n* [ ] Validation\n* [ ] Layouts\n\n## Uses\n### Define the Form with PHP\n```php\nRoute::get('/', function () {\n    return Inertia::render('Form', [\n        'form' =\u003e [\n            TextInput::make('name'),\n            TextInput::make('email'),\n            TextInput::make('password')\n                -\u003etype('password')\n        ]\n    ]);\n});\n```\n### Display the Form with `Mantra` Component\n```vue\n\u003ctemplate\u003e\n    \u003cdiv class=\"w-[400px] mx-auto\"\u003e\n        \u003cMantra :data=\"form\"/\u003e\n    \u003c/div\u003e\n\u003c/template\u003e\n\u003cscript setup\u003e\n    import Mantra from \"../Components/Mantra\"\n\n    defineProps({\n        form: {\n            required: true,\n            type: [Object],\n        },\n    })\n```\n\n### Output\n\u003cimg src=\"./docs/images/text-input.png\"\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbedus-creation%2Finertiajs-form-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbedus-creation%2Finertiajs-form-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbedus-creation%2Finertiajs-form-builder/lists"}