butcherman/artisan-dev-commands
| Install | |
|---|---|
composer require butcherman/artisan-dev-commands |
|
| Latest Version: | 0.0.9 |
| PHP: | >=7.2 |
| License: | MIT |
| Last Updated: | Jan 21, 2025 |
| Links: | GitHub · Packagist |
Butcherman\Artisan-Dev-Commands
A simple collection of Artisan commands to help make your development and troubleshooting a little easier.
Requirements
- PHP 7.2 or Higher
- Laravel 5.5 or Higher
Installation
composer require butcherman/artisan-dev-commands --dev
Usage
Log File Commands
Clear the contents of the current log file while keeping the file itself in tact:
php artisan log:clean
Delete all log files in the Log directory (will only remove files with the .log extension)
php artisan log:purge
Create a new Laravel Trait in the app/Traits folder
php artisan make:trait TraitName // or Folder/TraitName
Create a new Vue page located at /resources/js/Pages with a basic Vue template. Adding a new Vue page in a sub folder uses the dot (.) syntax similar to the View syntax
php artisan make:page folder.pageName // To add the component using the Vue's Options API, add the --optionsApi flag
Create a new Vue component located at /resources/js/Components with a basic Vue template. Adding a new Vue component in a sub folder uses the dot (.) syntax similar to the View syntax
php artisan make:vuecomponent folder.componentName // To add the component using the Vue's Options API, add the --optionsApi flag
Create a new Vue form component located at /resources/js/Forms with a basic form template. Adding a new Vue component in a sub folder uses the dot (.) syntax similar to the View syntax
php artisan make:form folder.formName // To add the form using the Vue's Options API, add the --optionsApi flag
Copyright © 2019-2025 Butcherman
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
See the LICENSE file for additional information
Related Packages
Enterprise-Grade Modular Architecture for Laravel Applications - A powerful Lara...
Laravel Boost extension package that provides plugin integration to Windsurf and...
Laravel Boost extension package that provides Windsurf editor and Windsurf JetBr...