{"id":15482158,"url":"https://github.com/davidpeach/laravel-base-command","last_synced_at":"2026-01-19T13:32:57.842Z","repository":{"id":45957450,"uuid":"308044513","full_name":"davidpeach/laravel-base-command","owner":"davidpeach","description":"A little base package to help create an automated setup flow in a fresh Laravel project.","archived":false,"fork":false,"pushed_at":"2021-11-24T15:37:20.000Z","size":72,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-13T15:03:40.417Z","etag":null,"topics":["laravel"],"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/davidpeach.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-28T14:36:00.000Z","updated_at":"2021-11-24T15:25:58.000Z","dependencies_parsed_at":"2022-08-02T14:16:33.146Z","dependency_job_id":null,"html_url":"https://github.com/davidpeach/laravel-base-command","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/davidpeach/laravel-base-command","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidpeach%2Flaravel-base-command","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidpeach%2Flaravel-base-command/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidpeach%2Flaravel-base-command/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidpeach%2Flaravel-base-command/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidpeach","download_url":"https://codeload.github.com/davidpeach/laravel-base-command/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidpeach%2Flaravel-base-command/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28569228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T12:50:50.164Z","status":"ssl_error","status_checked_at":"2026-01-19T12:50:42.704Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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"],"created_at":"2024-10-02T05:08:13.621Z","updated_at":"2026-01-19T13:32:57.826Z","avatar_url":"https://github.com/davidpeach.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Base Command\n\nA little package to help create an automated flow in a Laravel project.\n\nLet's say you or your company build Laravel sites / apps regularly. And let's say that there are a bunch of steps \nyou go through each and every time you start a new project.\n\nWouldn't it be nice if you could automate that whole process?\n\nWell that is exactly what Laravel Base Command tries to help you with.\n\nBy extending this package with your own, and with minimal setup, you can get a working setup flow.\n\n## Quick Start\n\n### Installation\n\n```bash\ncomposer require davidpeach/laravel-base-command\n```\n\n### Usage\n\n#### Required files in your child package\n\nAs Laravel Base Command attempts to do most of the heavy lifting for you, you only really need to create your `Step` \nclasses -- one for each step that you wish to perform.\n\n - A `ServiceProvider` class that extends `BaseCommandServiceProvider`\n - A set of `Step` classes in your package's `/src/Steps` folder. A step class must extend either `StepAlways`, \n   `StepBinary` or `StepChoice`.\n\n#### Process\n\n1. Extend the base command service provider with your own.\n2. Add your command class that extends BaseCommand and add it to your service provider.\n3. Create your command classes.\n4. Add a list of your command classes in your command class that extends BaseCommand.\n5. Run your setup command.\n\nWhen extending `laravel-base-command`, you define a command to run in order to run through your setup process. \"Your \nsetup command\" is just the command that you run. e.g. `php artisan mycompany:setup`.\n\nEssentially, your own package's Service Provider should extend the one in this project. Then you just create as many Task classes as is needed for your own setup steps.\n\nYour own steps should extend either `StepAlways`, `StepBinary` or `StepChoices`.\n\nA full explanation and documentation is coming soon.\n\nThanks for your patience,\nDave.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidpeach%2Flaravel-base-command","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidpeach%2Flaravel-base-command","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidpeach%2Flaravel-base-command/lists"}