{"id":27786165,"url":"https://github.com/laravellegends/interactive-model","last_synced_at":"2025-04-30T15:57:37.196Z","repository":{"id":57012268,"uuid":"348715555","full_name":"LaravelLegends/interactive-model","owner":"LaravelLegends","description":"This library is helpful to record data in the Eloquent models interactively via the command line.","archived":false,"fork":false,"pushed_at":"2021-11-18T13:05:21.000Z","size":32,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-30T15:57:26.850Z","etag":null,"topics":["artisan","artisan-command","laravel","model"],"latest_commit_sha":null,"homepage":"","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/LaravelLegends.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":"2021-03-17T13:13:53.000Z","updated_at":"2024-03-19T10:45:10.000Z","dependencies_parsed_at":"2022-08-21T15:10:27.048Z","dependency_job_id":null,"html_url":"https://github.com/LaravelLegends/interactive-model","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaravelLegends%2Finteractive-model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaravelLegends%2Finteractive-model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaravelLegends%2Finteractive-model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaravelLegends%2Finteractive-model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LaravelLegends","download_url":"https://codeload.github.com/LaravelLegends/interactive-model/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251737432,"owners_count":21635594,"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":["artisan","artisan-command","laravel","model"],"created_at":"2025-04-30T15:57:36.339Z","updated_at":"2025-04-30T15:57:37.189Z","avatar_url":"https://github.com/LaravelLegends.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Legends Interactive Model\n\nThis is a Laravel package to help you to record data in the Eloquent models interactively via the command line.\n\n## Instalation\n\nNow, run in terminal:\n\n```bash\ncomposer require laravellegends/interactive-model\n```\n\n## Usage examples\n\nExample:\n\n```bash\nphp artisan model:interactive User\n```\nor\n\n```bash\nphp artisan model:interactive App\\\\Models\\\\User\n```\n\n```text\nType the \"name\" value:\n\u003e Wallace Maxters\n\nType the \"email\" value:\n\u003e wallacemaxters@test.com\n\nType the \"password\" value:\n\u003e [automatic hidden]\n\nData inserted in table users\n```\n\nThis command assume that your models is placed in `App\\Models` namespace by default, if you not passed full namespace as argument.\n\nThe data asked to fill should be defined in `$fillable` in your model. For fields placed in `$hidden`, the prompt is automatically hidden.\n\nExample:\n\n```php\n\nnamespace App\\Models;\n\nclass User extends Model\n{\n    protected $fillable = ['name', 'email', 'password'];\n\n    protected $hidden = ['password'];\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaravellegends%2Finteractive-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaravellegends%2Finteractive-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaravellegends%2Finteractive-model/lists"}