Laration一个用于查看Laravel程序正在使用所有当前配置的简单包

网友投稿 860 2022-10-31

Laration一个用于查看Laravel程序正在使用所有当前配置的简单包

Laration一个用于查看Laravel程序正在使用所有当前配置的简单包

Laration

Simple package to see all current configurations being used by your Laravel application.

Have you ever wanted to list your environment variables without open each file in config folder? With Laration it is an easy task, just run php artisan laration:list and all variables will be listed.

If no argument is given to list it will display all variables at once.

Before install

Laravel versionLaration version
5.01.0
5.11.0
5.21.0
5.31.0
5.41.0
5.51.1
5.6, 5.7, 5.81.3
6.01.4

Installation

Require Laration with composer

composer require marabesi/laration

Laravel <= 5.4

Add the Marabesi\ServiceProvider::class in the provider array (config/app.php)

Laravel >= 5.5?

If yes, that's it! Laration will be add to your project by Laravel's 5.5 Package Auto-Discovery.

Available commands

Display only app variables

php artisan laration:list app

Display only broadcasting variables

php artisan laration:list broadcasting

Display only cache variables

php artisan laration:list cache

Display only database variables

php artisan laration:list database

Display only filesystem variables

php artisan laration:list filesystem

Display only mail variables

php artisan laration:list mail

Display only queue variables

php artisan laration:list queue

Display only session variables

php artisan laration:list session

Display only view variables

php artisan laration:list view

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:无关紧要之事不争不辩,是成熟的表现
下一篇:SA*P 自定义权限对象
相关文章

 发表评论

暂时没有评论,来抢沙发吧~