{"id":17095285,"url":"https://github.com/happytodev/autoseed","last_synced_at":"2025-03-23T17:25:46.491Z","repository":{"id":62514652,"uuid":"290959078","full_name":"happytodev/autoseed","owner":"happytodev","description":"Autoseed provides a new artisan command to generate automatically factories, seeds, and fake datas based on the introspecting of your database. Feel free to test it and to tell me what do you think about","archived":false,"fork":false,"pushed_at":"2020-08-30T14:46:43.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-28T23:24:04.115Z","etag":null,"topics":["artisan-command","autoseed","databaseseeder","factories","faker-data","php"],"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/happytodev.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":"2020-08-28T05:29:15.000Z","updated_at":"2020-08-30T14:44:22.000Z","dependencies_parsed_at":"2022-11-02T13:03:24.345Z","dependency_job_id":null,"html_url":"https://github.com/happytodev/autoseed","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happytodev%2Fautoseed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happytodev%2Fautoseed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happytodev%2Fautoseed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happytodev%2Fautoseed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/happytodev","download_url":"https://codeload.github.com/happytodev/autoseed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245138414,"owners_count":20566943,"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-command","autoseed","databaseseeder","factories","faker-data","php"],"created_at":"2024-10-14T14:42:24.169Z","updated_at":"2025-03-23T17:25:46.444Z","avatar_url":"https://github.com/happytodev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Autoseed\n\n## v0.0.1\n\nCaution : This package is in alpha version !\n\n## Description\n\nAutoseed is a package to provide a new artisan command :\n\n```\nphp artisan autoseed:generate\n```\n\nObviously, prior to execute this command, you had to set your .env with your database credentials and you have to generate your models with \n\n```\nphp artisan migrate\n```\n\n\nWhen it's done, you can launch the command.\n\nThis package will generate for you :\n- factories files\n- seeders files\n- an updated DatabaseSeeder.php file\n- a call to php artisan dump-autoload command (this command is integrated inthis package)\n- a call to php artisan db:seed command to generate fake datas for you\n\nThis package use Faker library from François Zaninotto.\n\n## How it works\n\nAutoseed analyze your database extracts tables names and watch every fields.\nAutoseed try to associate automatically field to the good Faker data type bases on field name (ex. 'name' matches to $faker-\u003ename, 'title' matches to text(max = 50), etc.)\n\n\n## Installation\n\nYou just need to launch this composer command :\n\n```\ncomposer require happytodev/autoseed\n```\n\n## Limitations\n\nRemember that this is currently an alpha version.\n\nIn this version, number of generate items are 10.\nIf you want regenerate the files or use again the command, you should deletes files generated in database/factories and database/seeds directory and remove lines added in DatabaseSeeder.php\n\n## Futures versions\n\n- Add config files (for settings table and fieds to ignore)\n- Add parameters to determine how many items must be generated\n- More smarter with more fields describe for a good association with faker data\n- much more with your comments after use\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhappytodev%2Fautoseed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhappytodev%2Fautoseed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhappytodev%2Fautoseed/lists"}