{"repo":"egyjs/dbml-to-laravel","free":true,"listed":false,"github":"https://github.com/egyjs/dbml-to-laravel","clone":"git clone https://github.com/egyjs/dbml-to-laravel.git","description":"Laravel package to generate Eloquent models and migration files from DBML schema files. Simplify DBML parsing, automate relationship creation, and speed up your development workflow.","language":"JavaScript","stars":76,"topics":["automation","dbml","developer-tools","eloquent","laravel","migration","model","php","relationships","schema"],"license":"MIT","category":"workflow-automation","readme_excerpt":"DBML to Laravel Eloquent Generator ✨ Generate Laravel Eloquent models and migration files directly from your DBML (Database Markup Language) diagrams, accelerating Laravel development and streamlining your schema-to-code workflow. 📰 Featured on Laravel News — the official community blog for Laravel developers! 🚀 Motivation Tired of manually writing Laravel Eloquent models and migration files from your database diagrams? This package automates the process, letting you focus on building features rather than repetitive boilerplate code. Say goodbye to manual schema-to-code conversion and embrace a faster, more efficient Laravel development workflow. ✨ Features DBML to Laravel Models: Automatically generate Eloquent models with fillable properties, hidden attributes, and defined relationships (one-to-one, one-to-many, many-to-many). DBML to Migration Files: Generate clean and accurate migration files with proper data types, nullability, default values, and foreign key constraints, directly from your DBML schema. Customizable Stubs: Easily modify the default model and migration stubs to align with your project's coding style and specific requirements. Relationship Parsing: Intelligently parses DBML relationships to create correct Eloquent relationship methods (e.g., hasMany , belongsTo , belongsToMany ). Casts Support: Automatically adds common Eloquent casts (e.g., JSON to arrays, timestamps to datetime objects) based on DBML column types. Incremental Sync: Run dbml:sync to gen","default_branch":null,"files":null,"tree":[],"storefront":"/r/egyjs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/egyjs/dbml-to-laravel/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}