{"id":21306578,"url":"https://github.com/benjaminhansen/laravelartisanmakeview","last_synced_at":"2025-07-11T21:31:41.132Z","repository":{"id":62494748,"uuid":"70743685","full_name":"benjaminhansen/LaravelArtisanMakeView","owner":"benjaminhansen","description":"Command line utility with extended options to create views in Laravel.","archived":false,"fork":false,"pushed_at":"2024-09-25T13:22:09.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-28T17:38:36.762Z","etag":null,"topics":["command","custom","laravel","laravelphp","makeview","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/benjaminhansen.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-12T21:35:46.000Z","updated_at":"2024-09-25T01:40:19.000Z","dependencies_parsed_at":"2024-07-28T21:25:56.157Z","dependency_job_id":"c284d277-16e0-452c-9c98-91002dce066d","html_url":"https://github.com/benjaminhansen/LaravelArtisanMakeView","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjaminhansen%2FLaravelArtisanMakeView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjaminhansen%2FLaravelArtisanMakeView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjaminhansen%2FLaravelArtisanMakeView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjaminhansen%2FLaravelArtisanMakeView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benjaminhansen","download_url":"https://codeload.github.com/benjaminhansen/LaravelArtisanMakeView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225762312,"owners_count":17520287,"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":["command","custom","laravel","laravelphp","makeview","php"],"created_at":"2024-11-21T16:27:00.023Z","updated_at":"2024-11-21T16:27:00.676Z","avatar_url":"https://github.com/benjaminhansen.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Artisan Make View\n\nAn extended replacement for Laravel's built-in \u003ccode\u003emake:view\u003c/code\u003e command.\n\nRequires \u003e= Laravel 5.0\n\n```\ncomposer require benjaminhansen/laravel-artisan-make-view\n```\n\nConfiguration \u003c Laravel 5.5\nOpen \u003ccode\u003eapp/Console/Kernel.php\u003c/code\u003e and add \u003ccode\u003eBenjaminHansen\\LaravelMakeView\\MakeView::class,\u003c/code\u003e to the \u003ccode\u003eprotected $commands\u003c/code\u003e array\n\n## Usage\n\n\u003ccode\u003ephp artisan make:view view.name --extends=layouts.app --uses=bootstrap5/tailwind --empty --resourceful --suffix=something.php\u003c/code\u003e\n\n- \u003ccode\u003eresourceful\u003c/code\u003e used to create a view directory from \u003ccode\u003eview.name\u003c/code\u003e and then resourceful view files \u003ccode\u003eindex.blade.php\u003c/code\u003e, \u003ccode\u003ecreate.blade.php\u003c/code\u003e, \u003ccode\u003eshow.blade.php\u003c/code\u003e, and \u003ccode\u003eedit.blade.php\u003c/code\u003e\n\n- \u003ccode\u003eextends\u003c/code\u003e is optional if you set \u003ccode\u003eBASE_VIEW\u003c/code\u003e in your project's .env file\n    - If \u003ccode\u003eBASE_VIEW\u003c/code\u003e is set, but you use the \u003ccode\u003e--extends\u003c/code\u003e option, \u003ccode\u003e--extends\u003c/code\u003e takes precedence.\n\n- \u003ccode\u003euses\u003c/code\u003e is optional. Preconfigures the base view with Twitter Bootstrap CSS and JS or Tailwind CSS\n    - \u003ccode\u003e--uses=bootstrap5\u003c/code\u003e or \u003ccode\u003e--uses=tailwind\u003c/code\u003e\n\n- \u003ccode\u003eempty\u003c/code\u003e option is optional. Creates an empty view file with no layout extension.\n    - When using the \u003ccode\u003eempty\u003c/code\u003e option all other options are ignored.\n\n- \u003ccode\u003esuffix\u003c/code\u003e is optional if you want to override the default blade.php file suffix with something else.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjaminhansen%2Flaravelartisanmakeview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenjaminhansen%2Flaravelartisanmakeview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjaminhansen%2Flaravelartisanmakeview/lists"}