{"id":32637556,"url":"https://github.com/corollarium/modelarium","last_synced_at":"2026-04-20T06:06:11.983Z","repository":{"id":56958134,"uuid":"273275169","full_name":"Corollarium/modelarium","owner":"Corollarium","description":"Generates scaffolding for frontend and backend from schemas","archived":false,"fork":false,"pushed_at":"2021-09-29T18:29:18.000Z","size":1952,"stargazers_count":2,"open_issues_count":15,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-14T00:08:12.155Z","etag":null,"topics":["framework","frontend","laravel","model","php","scaffolding"],"latest_commit_sha":null,"homepage":"https://corollarium.github.io/modelarium/","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/Corollarium.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-18T15:31:40.000Z","updated_at":"2021-11-03T12:15:54.000Z","dependencies_parsed_at":"2022-08-21T09:50:19.387Z","dependency_job_id":null,"html_url":"https://github.com/Corollarium/modelarium","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/Corollarium/modelarium","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corollarium%2Fmodelarium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corollarium%2Fmodelarium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corollarium%2Fmodelarium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corollarium%2Fmodelarium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Corollarium","download_url":"https://codeload.github.com/Corollarium/modelarium/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Corollarium%2Fmodelarium/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281914565,"owners_count":26583084,"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","status":"online","status_checked_at":"2025-10-30T02:00:06.501Z","response_time":61,"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":["framework","frontend","laravel","model","php","scaffolding"],"created_at":"2025-10-31T01:58:59.373Z","updated_at":"2025-10-31T01:59:26.282Z","avatar_url":"https://github.com/Corollarium.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eModelarium - Modern Code Scaffolding for PHP and JS\u003c/h1\u003e\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Build Status](https://github.com/Corollarium/modelarium/workflows/build/badge.svg)](https://github.com/Corollarium/modelarium/actions?query=workflow%3Abuild)\n[![Code Coverage](https://scrutinizer-ci.com/g/Corollarium/modelarium/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/Corollarium/modelarium/?branch=master)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Corollarium/modelarium/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Corollarium/modelarium/?branch=master)\n[![Latest Stable Version](https://img.shields.io/packagist/v/corollarium/modelarium.svg?style=flat-square)](https://packagist.org/packages/corollarium/modelarium)\n[![Total Downloads](https://img.shields.io/packagist/dt/corollarium/modelarium.svg?style=flat-square)](https://packagist.org/packages/corollarium/modelarium)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Corollarium/modelarium/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Corollarium/modelarium/?branch=master)\n\n---\n\nModelarium generates scaffolding for your project based on a GraphQL description of your API. It can create the entire backend and frontend files, leaving only the logic and design for you.\n\n- **generates backend scaffolding for you**: model, database migration, seed, factory, events, policies. Everything from your graphql descriptions. No more tedious creation of files and repeated code.\n- **datatypes**: your data is more than strings. You have models for your structures, so have datatypes for your fields. Create the correct database fields without thinking about it. Uses [Formularium for datatypes](https://corollarium.github.io/Formularium/).\n- **validation**: transparent data validation made automatically based on your datatypes. Your data is always safely validated.\n- **no performance penalty**: other than data validation all data is generate at development time. It's just automatic scaffolding, everything is just as fast as before.\n- **no new standards**: code is generated following existing standards for existing tools. Generate code and use it freely. Nothing is tied down.\n- **frontend generation**: get HTML forms, cards, lists and views generated for you automatically with your favorite CSS framework: Bootstrap, Bulma, Materialize, Buefy with simple declarations and a standard description. You can tweak details afterwards -- it's just code.\n- **reactive frameworks**: Get Vue and React components like cards, forms, lists and tables, ready to use with their Graphql calls.\n- **integration with Laravel and Lighthouse**. Get GraphQL endpoints automatically.\n\nWhat it doesn't do:\n\n- magic. you still have to write your code logic to process requests in the backend, like in mutations or special conditions in your models. You also get only a basic design, so pretty CSS is up to you.\n- REST endpoints generation. At this point only GraphQL is supported through Laravel and Lighthouse. REST endpoints might come later.\n- other backend frameworks. Currently only Laravel is supported.\n\n## Documentation\n\nSee [the full documentation for Modelarium](https://corollarium.github.io/modelarium/).\n\nSee [a hello world project](https://github.com/Corollarium/modelarium-helloworld).\n\nSee [a sample project](https://github.com/Corollarium/modelarium-example).\n\n## Sponsors\n\n[![Corollarium](https://corollarium.github.com/modelarium/logo-horizontal-400px.png)](https://corollarium.com)\n\n## Quick overview\n\nThis a Graphql file that reproduces Laravel's default `User` model. Notice the `Email` datatype, as well as the `@migration` directives for the database creation.\n\n```graphql\ntype User\n  @migrationRememberToken\n  @migrationSoftDeletes\n  @migrationTimestamps\n  @modelExtends(class: \"Illuminate\\\\Foundation\\\\Auth\\\\User\")\n  @modelNotifiable {\n  id: ID!\n  name: String!\n    @modelFillable\n    @renderable(label: \"Name\", comment: \"Please fill with your fullname\")\n  password: String! @modelHidden @modelFillable\n  email_verified_at: Timestamp @casts(type: \"datetime\")\n  email: Email! @migrationUniqueIndex @modelFillable\n}\n```\n\nHere's a sample `Post` Model, with custom data types for validation and data generation:\n\n```graphql\ntype Post @migrationTimestamps {\n  id: ID!\n  title: Title!\n  description: Text!\n  user: User! @belongsTo @foreign(onDelete: \"cascade\", onUpdate: \"cascade\")\n}\n```\n\n## Contributing [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/Corollarium/modelarium/issues)\n\nAny contributions are welcome. Please send a PR.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorollarium%2Fmodelarium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorollarium%2Fmodelarium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorollarium%2Fmodelarium/lists"}