PHPackages                             jeremykenedy/laravel-phpinfo - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. jeremykenedy/laravel-phpinfo

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jeremykenedy/laravel-phpinfo
============================

phpinfo() in a pretty Laravel blade template

v1.3.0(6y ago)46178.4k—9.2%4[1 issues](https://github.com/jeremykenedy/laravel-phpinfo/issues)MITPHPPHP &gt;=5.4.0

Since Feb 3Pushed 5y ago4 watchersCompare

[ Source](https://github.com/jeremykenedy/laravel-phpinfo)[ Packagist](https://packagist.org/packages/jeremykenedy/laravel-phpinfo)[ RSS](/packages/jeremykenedy-laravel-phpinfo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)DependenciesVersions (8)Used By (0)

[![Laravel PHP Info](https://camo.githubusercontent.com/b63577e87fd7507e5102ac7493d8e846978d6aa15cbbcf313f44f6868685005d/68747470733a2f2f6769746875622d70726f6a6563742d696d616765732e73332d75732d776573742d322e616d617a6f6e6177732e636f6d2f6c6f676f732f6c61726176656c2d7068702d696e666f2d6c6f676f2e706e67)](https://camo.githubusercontent.com/b63577e87fd7507e5102ac7493d8e846978d6aa15cbbcf313f44f6868685005d/68747470733a2f2f6769746875622d70726f6a6563742d696d616765732e73332d75732d776573742d322e616d617a6f6e6177732e636f6d2f6c6f676f732f6c61726176656c2d7068702d696e666f2d6c6f676f2e706e67)

Laravel PHP Info
================

[](#laravel-php-info)

Laravel PHP Info is a package that provides a [PHPInfo()](http://php.net/manual/en/function.phpinfo.php) page using blade templating. The config file can be used to enable/disable auth protection and specify the roles middleware.

[![Latest Stable Version](https://camo.githubusercontent.com/4cc9c996de6c18b5da790f9d75fd4c5d76616d58635aa2fa5496826581844b15/68747470733a2f2f706f7365722e707567782e6f72672f6a6572656d796b656e6564792f6c61726176656c2d706870696e666f2f762f737461626c65)](https://packagist.org/packages/jeremykenedy/laravel-phpinfo)[![Total Downloads](https://camo.githubusercontent.com/4cc4ef2bb0a8bbdeb983ac64da853803c0015e1b08c10c87cd21fd3ebf41d7a5/68747470733a2f2f706f7365722e707567782e6f72672f6a6572656d796b656e6564792f6c61726176656c2d706870696e666f2f646f776e6c6f616473)](https://packagist.org/packages/jeremykenedy/laravel-phpinfo)[![StyleCI](https://camo.githubusercontent.com/5e1b0fa96b6ed39d337db55e813eecea459807f9f568d582440f34d2c47490e6/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3132303036363939332f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/120066993)[![Travis-CI Build](https://camo.githubusercontent.com/6ce1bd16c14cbc8ad2dbdb3285564a0ace89c1629f5989652931677ebcf1fe2d/68747470733a2f2f7472617669732d63692e6f72672f6a6572656d796b656e6564792f6c61726176656c2d706870696e666f2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jeremykenedy/laravel-phpinfo)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

Table of contents:

- [Features](#features)
- [Requirements](#requirements)
- [Installation Instructions](#installation-instructions)
- [Configuration](#configuration)
- [Route](#route)
- [Screenshot](#screenshot)
- [File Tree](#file-tree)
- [Opening an Issue](#opening-an-issue)
- [License](#license)

Laravel PHP InfoEasily show [PHPInfo()](http://php.net/manual/en/function.phpinfo.php) page with blade templatesCan publish customizable views and assetsEnable/Disable Auth middlewareSpecify additional middlewares[configuration](#configuration) optionsUses Language [localization](https://laravel.com/docs/5.5/localization) files### Requirements

[](#requirements)

- [Laravel 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, 6, 7 and 8+](https://laravel.com/docs/installation)

### Installation Instructions

[](#installation-instructions)

1. From your projects root folder in terminal run:

```
    composer require jeremykenedy/laravel-phpinfo
```

2. Register the package

- Laravel 5.5 and up Uses package auto discovery feature, no need to edit the `config/app.php` file.
- Laravel 5.4 and below Register the package with laravel in `config/app.php` under `providers` with the following:

```
    'providers' => [
        jeremykenedy\laravelPhpInfo\LaravelPhpInfoServiceProvider::class,
    ];
```

3. Publish the packages views, config file, assets, and language files by running the following from your projects root folder:

```
    php artisan vendor:publish --tag=laravelPhpInfo
```

### Configuration

[](#configuration)

Laravel PHP Info can be configured in directly in [`/config/laravelPhpInfo.php`](https://github.com/jeremykenedy/laravel-phpinfo/blob/master/src/config/laravelPhpInfo.php) file.

##### Config File

[](#config-file)

Here is the [`/config/laravelPhpInfo.php`](https://github.com/jeremykenedy/laravel-phpinfo/blob/master/src/config/laravelPhpInfo.php) configuration options:

```
/*
|--------------------------------------------------------------------------
| Laravel PHP Info settings
|--------------------------------------------------------------------------
*/

// The parent blade file
'laravelPhpInfoBladeExtended'   => 'layouts.app',

// Enable `auth` middleware
'authEnabled'                   => true,

// Enable Optional Roles Middleware
'rolesEnabled'                  => false,

// Optional Roles Middleware
'rolesMiddlware'                => 'role:admin',

'bootstapVersion'               => '4',

// Additional Card classes for styling -
// See: https://getbootstrap.com/docs/4.0/components/card/#background-and-color
// Example classes: 'text-white bg-primary mb-3'
'bootstrapCardClasses'          => '',
```

### Route

[](#route)

- [`/phpinfo`](https://github.com/jeremykenedy/laravel-phpinfo/blob/master/src/resources/views/phpinfo/php-info.blade.php)

### Screenshot

[](#screenshot)

[![PHP Info page](https://camo.githubusercontent.com/fe79422b64adb595ce78022c36b9f573a8562ee56fa136ae6ca189a318896112/68747470733a2f2f73332d75732d776573742d322e616d617a6f6e6177732e636f6d2f6769746875622d70726f6a6563742d696d616765732f6c61726176656c2d706870696e666f2f706870696e666f312e6a7067)](https://camo.githubusercontent.com/fe79422b64adb595ce78022c36b9f573a8562ee56fa136ae6ca189a318896112/68747470733a2f2f73332d75732d776573742d322e616d617a6f6e6177732e636f6d2f6769746875622d70726f6a6563742d696d616765732f6c61726176656c2d706870696e666f2f706870696e666f312e6a7067)

### File Tree

[](#file-tree)

```
LaravelPhpInfo
    ├── .gitignore
    ├── .travis.yml
    ├── LICENSE
    ├── README.md
    ├── composer.json
    └── src
        ├── app
        │   └── Http
        │       └── Controllers
        │           └── LaravelPhpInfoController.php
        ├── config
        │   └── laravelPhpInfo.php
        ├── laravelPhpInfoServiceProvider.php
        ├── resources
        │   ├── lang
        │   │   └── en
        │   │       └── laravel-phpinfo.php
        │   └── views
        │       └── phpinfo
        │           └── php-info.blade.php
        └── routes
            └── web.php

```

- Tree command can be installed using brew: `brew install tree`
- File tree generated using command `tree -a -I '.git|node_modules|vendor|storage|tests`

### Opening an Issue

[](#opening-an-issue)

Before opening an issue there are a couple of considerations:

- You are all awesome!
- **Read the instructions** and make sure all steps were *followed correctly*.
- **Check** that the issue is not *specific to your development environment* setup.
- **Provide** *duplication steps*.
- **Attempt to look into the issue**, and if you *have a solution, make a pull request*.
- **Show that you have made an attempt** to *look into the issue*.
- **Check** to see if the issue you are *reporting is a duplicate* of a previous reported issue.
- **Following these instructions show me that you have tried.**
- If you have a questions send me an email to
- Need some help, I can do my best on Slack:
- Please be considerate that this is an open source project that I provide to the community for FREE when openeing an issue.

Open source projects are a the community’s responsibility to use, contribute, and debug.

### License

[](#license)

Laravel PHP Info is licensed under the MIT license. Enjoy!

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity44

Moderate usage in the ecosystem

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~135 days

Recently: every ~203 days

Total

7

Last Release

2214d ago

Major Versions

v0.0.3 → v1.0.02018-02-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/05cef7d9ee65723b129042943511207fb34db74a56afbf67b5900987f758c161?d=identicon)[jeremykenedy](/maintainers/jeremykenedy)

---

Top Contributors

[![jeremykenedy](https://avatars.githubusercontent.com/u/6244570?v=4)](https://github.com/jeremykenedy "jeremykenedy (37 commits)")

---

Tags

laravel-php-detailslaravel-phpinfophp-detailsphp-infophpinfophpinfoLaravel phpinfoLaravel php info

### Embed Badge

![Health badge](/badges/jeremykenedy-laravel-phpinfo/health.svg)

```
[![Health](https://phpackages.com/badges/jeremykenedy-laravel-phpinfo/health.svg)](https://phpackages.com/packages/jeremykenedy-laravel-phpinfo)
```

###  Alternatives

[checkdomain/holiday

Checkdomain/Holiday provides a simple class to get holidays for a specified country

50384.1k2](/packages/checkdomain-holiday)[spaze/phpinfo

Extract phpinfo() into a variable and move CSS to external file.

1330.6k](/packages/spaze-phpinfo)[dfridrich/php-mime-type

Simple PHP class for guessing file mime type based on file extension with ability to use in Symfony project.

17274.8k3](/packages/dfridrich-php-mime-type)[jsvrcek/ics-bundle

This bundle provides a dependency injection wrapper for the JsvrcekICS iCal library

11150.6k](/packages/jsvrcek-ics-bundle)[muayyad-alsadi/yii-extended-clientscript

Extension to improve yiis native client script module

478.3k](/packages/muayyad-alsadi-yii-extended-clientscript)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
