butcherman / artisan-dev-commands

A collection of commands to run in the Artisan CLI that will make development troubleshooting your Laravel project a little easier

Stars
0

Butcherman\Artisan-Dev-Commands

A simple collection of Artisan commands to help make your development 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

Note: only the Single Log and Daily Log channels are supported at this time

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

More to Come

Copyright © 2019 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