diff --git a/CHANGELOG.md b/CHANGELOG.md index adea9ff..0d7bb06 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.2.6 - 2021-01-03 +Hacktoberfest!!! +We would like to say thank you to @tweichart and @martijnengler for the contributions. +### Add +- Add --all option for showing all information (verbose output). Thanks to @tweichart +- Add --large option for using 120 chars width. Thanks to @martijnengler + ## 0.2.5 - 2021-06-18 ### Add - Add some Operating System information: @@ -10,7 +17,7 @@ - Release name - Machine Name - Version info - + ## 0.2.4 - 2021-04-18 ### Add - In runtime information, added upload_max_filesize and post_max_size from php configuration ( thanks to @yogendra-revanna ) diff --git a/README.md b/README.md index 4177fcd..92d44a6 100755 --- a/README.md +++ b/README.md @@ -87,6 +87,11 @@ If you want to see a verbose output (with also PHP extensions and PHP INI values ```shell script php artisan laralens:diagnostic --show=all ``` +or better: +```shell script +php artisan laralens:diagnostic --all +``` + If you want to see only PHP extensions: ```shell script @@ -102,7 +107,7 @@ php artisan laralens:diagnostic --show=php-ini If your Laravel application doesn't use the database, you can skip the database inspection with --skip-database option. ```shell script -php artisan laralens:diagnostic --skip-database +php artisan laralens:diagnostic --skip-database ``` ### Usage: show some oprating system information @@ -115,7 +120,7 @@ You can show some operating system information like: - Machine Name - Version info -using _"--show os"_ option or _"--show all"_ option +using _"--show os"_ option or _"--show all"_ option ```shell php artisan laralens:diagnostic --show os ``` @@ -135,6 +140,12 @@ For example: php artisan laralens:diagnostic --style=borderless ``` +### Usage: change the width of the output table +To use 120 characters (wide terminal), you can use --large option +```sh +php artisan laralens:diagnostic --large +``` + ### Testing @@ -162,12 +173,12 @@ After that,you will have a new configuration file in your config directory. The Add `LARALENS_WEB_ENABLED=on` option to your .env file. You may also override the default parameters for `LARALENS_PREFIX` and `LARALENS_MIDDLEWARE` ``` # Wether Web Report should be enabled or not -LARALENS_WEB_ENABLED=on +LARALENS_WEB_ENABLED=on # Path prefix in order to acess the Web Report via browser LARALENS_PREFIX="laralens" # Which middleware should be used when acessing the Web Report, separete more with ; -LARALENS_MIDDLEWARE="web;auth.basic" -``` +LARALENS_MIDDLEWARE="web;auth.basic" +``` For example, with the configuration above you would have enabled the web view (_web-enabled_ parameter) under _/laralens_test/_ path and with the `web` and `auth.basic` middleware @@ -181,12 +192,12 @@ return [ ### Web view configuration hint LaraLens shows some internal configuration of your Laravel application, so I suggest you to disable it in a production environment. -To disable LaraLens web view, make sure to remove LARALENS_WEB_ENABLED config from .env file or set it to _off_ +To disable LaraLens web view, make sure to remove LARALENS_WEB_ENABLED config from .env file or set it to _off_ ``` LARALENS_WEB_ENABLED=off ``` - + ## Contributing