Download the PHP package hi-folks/lara-lens without Composer

On this page you can find all versions of the php package hi-folks/lara-lens. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package lara-lens

LaraLens

CI/CD Github Actions GitHub last commit GitHub Release Date Packagist PHP Version

LaraLens

What

LaraLens is a Laravel artisan command to show you the current configuration of your application. It is useful to show in your terminal the status of:

LaraLens - diagnostic package for Laravel

Why

When I have a new Laravel Application deployed on the target server, usually I perform a list of commands in order to check the configuration, the connection to database, inspect some tables, the response of the web server. I tried to show more information in just one command. This is useful also when the installation of your Laravel application is on premises, and someone else takes care about the configuration. So, in this scenario usually, as developer, your first question is: "how is configured the application?".

Installation

You can install the package via composer:

The Packagist page is: https://packagist.org/packages/hi-folks/lara-lens

Usage

Usage: control database connection

You can see Database Connection information, and you can choose the table to check, and the column used for the "order by" (default created_at):

To take the last created user:

To take the last updated user:

Usage: control the output

You can control the output via the show option. You can define:

The default for --show option (if you avoid specifying --show) is to display: config, connection, database, runtime, migration.

If you want to see only database information:

If you want to see a verbose output (with also PHP extensions and PHP INI values):

or better:

If you want to see only PHP extensions:

If you want to see only PHP INI values:

Usage: skip database connection and database diagnostics

If your Laravel application doesn't use the database, you can skip the database inspection with --skip-database option.

Usage: show some oprating system information

You can show some operating system information like:

using "--show os" option or "--show all" option

Usage: change the style of output table

You can choose one of these styles via --style= option:

For example:

Usage: change the width of the output table

To use 120 characters (wide terminal), you can use --large option

Testing

Changelog

Please see CHANGELOG for more information what has changed recently.

Usage as Web Page

LaraLens provides information with the command line via terminal as shown above. You have also the opportunity to see the information via your web browser. You can enable web view via the configuration.

Publish default configuration for LaraLens in your Laravel Application:

After that,you will have a new configuration file in your config directory. The file is: config/lara-lens.php

Add LARALENS_WEB_ENABLED=on option to your .env file. You may also override the default parameters for LARALENS_PREFIX and LARALENS_MIDDLEWARE

For example, with the configuration above you would have enabled the web view (web-enabled parameter) under _/laralenstest/ path and with the web and auth.basic middleware

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

Contributing

Please see CONTRIBUTING for details.

Submit ideas or feature requests or issues

Credits

Who talks about LaraLens

License

The MIT License (MIT). Please see License File for more information.


All versions of lara-lens with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0|^8.1|^8.2|^8.3
ext-json Version *
guzzlehttp/guzzle Version ^7.8
nunomaduro/termwind Version ^1.15|^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hi-folks/lara-lens contains the following files

Loading the files please wait ....