Vit Kos
Vit Kos

Reputation: 5755

How to obtain packages in workbench in Laravel

Oh, well, the question is as stated. I want to obtain somehow list of created packages that are placed in the workbench directory of my laravel app.Is there a good Laravel-way to do that nicely? Thanks.

Upvotes: 0

Views: 76

Answers (1)

Antonio Carlos Ribeiro
Antonio Carlos Ribeiro

Reputation: 87719

Listing the directory is the current only way of viewing a list of your workbench packages, but you can make it fancy:

Create an alias

alias bench="find workbench/ -maxdepth 2 -type d | egrep '/.*/' | cut -d '/' -f2,3"

Then you just have to type

bench

And you should see:

vendorNameA/packageNameA 
secondVendor/packageNameB

Upvotes: 1

Related Questions