{"id":15658985,"url":"https://github.com/whoan/laravel-bash-helpers","last_synced_at":"2026-03-09T00:33:51.407Z","repository":{"id":43922683,"uuid":"49986486","full_name":"whoan/laravel-bash-helpers","owner":"whoan","description":"Daily tasks made easier","archived":false,"fork":false,"pushed_at":"2020-01-01T20:13:14.000Z","size":26,"stargazers_count":21,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-05T17:20:46.450Z","etag":null,"topics":["bash","hacktoberfest","laravel","lumen"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/whoan.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":"2016-01-19T22:05:56.000Z","updated_at":"2023-07-15T13:32:32.000Z","dependencies_parsed_at":"2022-09-10T23:21:56.331Z","dependency_job_id":null,"html_url":"https://github.com/whoan/laravel-bash-helpers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/whoan/laravel-bash-helpers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whoan%2Flaravel-bash-helpers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whoan%2Flaravel-bash-helpers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whoan%2Flaravel-bash-helpers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whoan%2Flaravel-bash-helpers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whoan","download_url":"https://codeload.github.com/whoan/laravel-bash-helpers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whoan%2Flaravel-bash-helpers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30278554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T20:45:49.896Z","status":"ssl_error","status_checked_at":"2026-03-08T20:45:49.525Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["bash","hacktoberfest","laravel","lumen"],"created_at":"2024-10-03T13:14:35.644Z","updated_at":"2026-03-09T00:33:51.386Z","avatar_url":"https://github.com/whoan.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Laravel/Lumen helpers for Bash\n==============================\n\nUseful commands for your Laravel/Lumen development.\n\n## Commands\n\n`artisan`: call the command wherever you are. It's like doing: `php $project_root/artisan`\n\n`linit`: set directory permissions and create your *.env* file if necessary. Useful when you start a new project\n\n`loot`: go to the root of your laravel project (where your *.env* stays)\n\n`phpunit`: call the command wherever you are. It's like doing: `cd $project_root \u0026\u0026 vendor/bin/phpunit`\n\n`phpspec`: call the command wherever you are. It's like doing: `cd $project_root \u0026\u0026 vendor/bin/phpspec`\n\n`tinker`: call the command wherever you are. It's like doing: `php $project_root/artisan tinker`\n\n`serve`: call the command wherever you are. It's like doing: `php $project_root/artisan serve`\n\n`gulp`: call the command wherever you are, and you don't need it installed globally anymore\n\n`homestead`: call the command wherever you are. It's like doing: `cd ~/Homestead \u0026\u0026 vagrant`\n\n### Mysql commands\n\nYou need to set the following variables beforehand in your *.env* file:\n\n- `DB_HOST` (optional)\n- `DB_DATABASE`\n- `DB_USERNAME`\n- `DB_PASSWORD`\n\n`createdb`: create the database `$DB_DATABASE`, automatically.\n\n`godb`: open a mysql console ready to execute commands\n\n`query`: execute a query from your shell. eg: `query \"show tables\"`\n\n### Make multiple migrations, seeders, models and controllers at once\n\n```bash\nmmigrations  # usage: mmigrations table1 [table2 [...]]\nmseeders     # usage: mseeders Seeder1 [Seeder2 [...]]\nmmodels      # usage: mmodels Model1 [Model2 [...]]\nmcontrollers # usage: mcontrollers Controller1 [Controller2 [...]]\n\n# You can also use options:\nmcontrollers --resource Controller1 [Controller2 [...]]\n# And these sentences are the same (suffix appended if not provided):\nmcontrollers aController\nmcontrollers a\n```\n\n### Others\n\nThese were extracted from [laravel/homestead][laravel-homestead]:\n\n```bash\n..  # cd ..\n... # cd ../..\nh   # cd ~\nc   # clear\nart # artisan\n```\n\n## Installation\n\nYou may source the file in your `.bashrc` (or in your current terminal to give it a try):\n\n```bash\ngit clone https://github.com/whoan/laravel-bash-helpers.git\n_path=$PWD/laravel-bash-helpers/laravel-bash-helpers.sh\necho \"test -f \\\"$_path\\\"  \u0026\u0026 source \\\"$_path\\\"\" \u003e\u003e ~/.bashrc  # install it in your .bashrc\nsource \"$_path\"  # make it available to the current terminal\n```\n\n## Contact\n\n[Mail][mail]  \n\n## License\n\n[MIT](https://github.com/whoan/laravel-bash-helpers/blob/master/LICENSE)\n\n[mail]: mailto:juaneabadie@gmail.com\n[laravel-homestead]: https://github.com/laravel/homestead\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhoan%2Flaravel-bash-helpers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhoan%2Flaravel-bash-helpers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhoan%2Flaravel-bash-helpers/lists"}