PHPackages                             fitluismacedo/basher - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. fitluismacedo/basher

ActiveLibrary[CLI &amp; Console](/categories/cli)

fitluismacedo/basher
====================

A little command helper for laravel artisan

v1.9.0(6y ago)0424GiftwarePHP

Since Jan 8Pushed 6y agoCompare

[ Source](https://github.com/fitluismacedo/basher)[ Packagist](https://packagist.org/packages/fitluismacedo/basher)[ Docs](https://github.com/fitluismacedo/basher)[ RSS](/packages/fitluismacedo-basher/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (5)Versions (32)Used By (0)

basher
======

[](#basher)

[![Latest Version on Packagist](https://camo.githubusercontent.com/214637cdab0d6ccaf2c362fdf39f21e9e25ff6d3103d11e21f29f2e9ad02f996/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6669746c7569736d616365646f2f6261736865722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fitluismacedo/basher)[![Total Downloads](https://camo.githubusercontent.com/14d7f05196f541a28aa23b1eed23b3ab215d4b685ac3357c063e63cc5e102ad6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6669746c7569736d616365646f2f6261736865722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fitluismacedo/basher)[![Build Status](https://camo.githubusercontent.com/06be59a59312aa904732962a42d6f1e4fee2b6a06196261c71c64c83a1fbf819/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6669746c7569736d616365646f2f6261736865722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/fitluismacedo/basher)[![StyleCI](https://camo.githubusercontent.com/cb13a877afd1dbe223c631789c3f922d3ace958fdb334a9cce9b26afefbc2ebd/68747470733a2f2f7374796c6563692e696f2f7265706f732f31323334353637382f736869656c64)](https://styleci.io/repos/12345678)

A little helper for delevopers

Installation
------------

[](#installation)

Via Composer

```
$ composer require fitluismacedo/basher
```

Usage
-----

[](#usage)

```
php artisan basher:clean
```

clear all laravel cache's and regenerate composer using cache:clear, route:clear, view:clear, config:clear, clear-compiled and composer dump-autoload -o

```
php artisan basher:env {environment}
```

set .env params to a desired enviroment, add {environment} argument to change; need a file .env.\[envname\] to copy params

```
php artisan basher:file {option} {filepath}
```

hide/show a file that you do not want to commit, add argument {option} to hide/show file and add argument {filepath} to use

```
php artisan basher:force-composer-update
```

force to update dependencies from laravel project creating a swap

```
php artisan basher:generate {option=all} {directory=PROJECT_DIRECTORY_NAME}
```

generate laravel models from mysql connection on .env file, add {option} and {directory} argument to generate models

- now can generate one o more tables comma-separated
- use PROJECT\_DIRECTORY\_NAME variable on .env to set default directory name

- `php artisan basher:generate`
- `php artisan basher:generate all DevopsStable`
- `php artisan basher:generate users,migrations,telescope_entries DevopsStable`

```
php artisan basher:pull
```

move to project directory and pull content from repository

```
php artisan basher:push {commit=Avances Y-m-d H:i:s} {branch=master}
```

pushing files to git, type you {commit} name and {branch} name to push, if {branch} is empty, content will push to master branch

- use quotes to set {commit} name
- now exec git stash, pull and stash apply before push content

```
php artisan basher:reinstall
```

force to update this package

```
php artisan basher:revert {commidId} {branch=master}
```

revert files to a specific commit id and force to push content, add argument {commidId} and branch to continue, if {branch} is empty, content will revert on master branch

```
php artisan basher:tag {option} {tagname}
```

create a git tag and push content, add {option} (new/del) argument and {tagname} to continue

- use quotes to set {tagname} name

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Luis Macedo](https://github.com/fitluismacedo)
- [All Contributors](../../contributors%5D)

License
-------

[](#license)

Giftware License. Please see the [license file](license.md) for more information.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity72

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~8 days

Recently: every ~0 days

Total

31

Last Release

2498d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44173442?v=4)[fitluismacedo](/maintainers/fitluismacedo)[@fitluismacedo](https://github.com/fitluismacedo)

---

Tags

laravelbasher

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fitluismacedo-basher/health.svg)

```
[![Health](https://phpackages.com/badges/fitluismacedo-basher/health.svg)](https://phpackages.com/packages/fitluismacedo-basher)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[mwguerra/web-terminal

A web-based terminal component for Filament/Laravel with command whitelisting and multiple connection types

294.5k](/packages/mwguerra-web-terminal)[sunaoka/laravel-facade-generator

Provide command line generation of facade layer files.

162.0k](/packages/sunaoka-laravel-facade-generator)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
