Skip to content

Commit

Permalink
Merge pull request #62 from roberto-butti/v0.2.6
Browse files Browse the repository at this point in the history
preparing for releasing v0.2.6 (hacktoberfest release)
  • Loading branch information
roberto-butti authored Oct 3, 2021
2 parents 7f6a261 + 89b5900 commit 2341186
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 8 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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 )
Expand Down
25 changes: 18 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
```
Expand All @@ -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

Expand Down Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 2341186

Please sign in to comment.