Releases: Hi-Folks/lara-lens
Releases · Hi-Folks/lara-lens
Adding some info for database connection, Laravel/PHP version
🎉 Database connection:
- connection name
- getQueryGrammar
- getDriverName
- getDatabaseName
- getTablePrefix
- database server version
🎉 Runtime configuration:
- Laravel version
- PHP version
Control the output
You can control the output via the show option. You can define:
- config
- connection
- database
- runtime
- migration
- all
The defalut for --show option is all.
php artisan laralens:diagnostic --show=config --show=connection --show=database --show=runtime --show=migration
If you want to see only database information:
php artisan laralens:diagnostic --show=database
A better ouput
A better ouput 💅
- extracting long message from tables
- settings width for columns tables
Catch HTTP Exception
This is a quick fix for catching HTTP connection exception
Show infos for DB connection, tables and rows
Added a section to show DB informations:
- detect DB connection type
- get tables for mysql
- get tables for sqlite
- count and retrieve last row from a table. Table and column names could be specified as input parameters
- test database diagnostics
- update readme for documentation
Dump whole config
- Add new argument as input (it is optional):
- overview: you can see configuration, http connection, db connection etc
- allconfigs: you can see verbose configuration from Laravel application. Try to use 'php artisan laralens:diagnostic allconfigs' in your laravel application. You will see the dump of all configuration parameters in json format
Runtime config and Migration status
- Add runtime config:
- App::getLocale()
- App::environment())
- Generated url via asset() and url() helpers
- Invoke migrate:status
Welcome Lara Lens
- Add laralens:diagnostic artisan command (Laraval)
- Check config parameter like app.url, app.locale, app.url and database.*
- Check the http connection with app.url defined in base configuration
- Check the connection with DB and counts the row for a specific table (users by default)