{"id":26415641,"url":"https://github.com/laralib/l5scaffold","last_synced_at":"2025-05-16T16:08:16.679Z","repository":{"id":30871984,"uuid":"34429613","full_name":"laralib/l5scaffold","owner":"laralib","description":"Scaffold generator for Laravel 5.x","archived":false,"fork":false,"pushed_at":"2017-08-16T14:23:14.000Z","size":384,"stargazers_count":315,"open_issues_count":21,"forks_count":115,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-04-09T05:07:38.261Z","etag":null,"topics":["laravel","php","scaffold-generator"],"latest_commit_sha":null,"homepage":"","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/laralib.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-23T02:44:49.000Z","updated_at":"2024-02-07T13:01:32.000Z","dependencies_parsed_at":"2022-08-21T15:10:38.645Z","dependency_job_id":null,"html_url":"https://github.com/laralib/l5scaffold","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laralib%2Fl5scaffold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laralib%2Fl5scaffold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laralib%2Fl5scaffold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laralib%2Fl5scaffold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laralib","download_url":"https://codeload.github.com/laralib/l5scaffold/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254564127,"owners_count":22092122,"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":["laravel","php","scaffold-generator"],"created_at":"2025-03-18T00:54:13.983Z","updated_at":"2025-05-16T16:08:16.648Z","avatar_url":"https://github.com/laralib.png","language":"PHP","readme":"# Laravel 5.x Scaffold Generator\n[![Travis](https://img.shields.io/travis/laralib/l5scaffold.svg?style=flat-square)](https://github.com/laralib/l5scaffold)\n[![Packagist](https://img.shields.io/packagist/dt/laralib/l5scaffold.svg?style=flat-square)](https://packagist.org/packages/laralib/l5scaffold)\n[![Tag](https://img.shields.io/github/tag/laralib/l5scaffold.svg)](https://github.com/laralib/l5scaffold/tags)\n## Usage\n\n### Step 1: Install Through Composer\n\n```\ncomposer require 'laralib/l5scaffold' --dev\n```\n\n### Step 2: Add the Service Provider\n\nOpen `config/app.php` and, to your **providers** array at the bottom, add:\n\n```\nLaralib\\L5scaffold\\GeneratorsServiceProvider::class\n```\n\n### Step 3: Run Artisan!\n\nYou're all set. Run `php artisan` from the console, and you'll see the new commands `make:scaffold`.\n\n## Examples\n\nUse this command to generator scaffolding of **Tweet** in your project:\n```\nphp artisan make:scaffold Tweet \\\n\t--schema=\"title:string:default('Tweet #1'), body:text\"\n```\nor with more options\n```\nphp artisan make:scaffold Tweet \\\n\t--schema=\"title:string:default('Tweet #1'), body:text\" \\\n\t--ui=\"bs3\" \\\n\t--prefix=\"admin\"\n```\n\nThis command will generate:\n\n```\napp/Tweet.php\napp/Http/Controllers/TweetController.php\n\ndatabase/migrations/201x_xx_xx_xxxxxx_create_tweets_table.php\ndatabase/seeds/TweetTableSeeder.php\n\nresources/views/layout.blade.php\nresources/views/tweets/index.blade.php\nresources/views/tweets/show.blade.php\nresources/views/tweets/edit.blade.php\nresources/views/tweets/create.blade.php\n```\n\nAfter don't forget to run:\n\n\n```\nphp artisan migrate\n```\n## Custom stub\nCreate a new folder inside **Stubs \u003e views** with your UI name custom \n![image](http://i66.tinypic.com/10ndpgw.png)\n\nCustom fields in `Stubs \u003e views \u003e **ui-name** \u003e fields`\n\nCustom pages in `Stubs \u003e views \u003e **ui-name** \u003e pages`\n\n\u003cbr\u003e\n\n:thought_balloon: **Send us your ideas.** (creating issues)\n\n\n##Collaborators\n [Fernando Brito](https://github.com/fernandobritofl \"fernandobritofl\")\n \u003cbr/\u003e[Sylvio Tavares](https://github.com/sylviot \"Sylviot\")\n \u003cbr/\u003e[Raphael Heitor](https://github.com/raphaelheitor \"raphaelheitor\")\n \u003cbr/\u003e[Alfred Nutile](https://github.com/alnutile \"alnutile\")\n \u003cbr/\u003e[Sazzad Hossain Khan](https://github.com/itsazzad \"itsazzad\")\n \u003cbr/\u003e[Alexander Makhaev](https://github.com/mankms \"mankms\")\n \u003cbr/\u003e[Adam Brown](https://github.com/DeftNerd \"DeftNerd\")\n \u003cbr/\u003e[TJ Webb](https://github.com/webbtj \"webbtj\")\n \u003cbr/\u003e[Tsaganos Tolis](https://github.com/Dev-Force \"Dev-Force\")\n \u003cbr/\u003e[Ryan Gurnick](https://github.com/ryangurn \"ryangurn\")\n","funding_links":[],"categories":["Packages"],"sub_categories":["Boilerplate/Customized Configurations"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaralib%2Fl5scaffold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaralib%2Fl5scaffold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaralib%2Fl5scaffold/lists"}