Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Laravel PHP Info is a package that provides a PHPInfo() page using blade templating. The config file can be used to enable/disable auth protection and specify the roles middleware.

License

NotificationsYou must be signed in to change notification settings

jeremykenedy/laravel-phpinfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel PHP Info

Laravel PHP Info

Laravel PHP Info is a package that provides aPHPInfo() page using blade templating. The config file can be used to enable/disable auth protection and specify the roles middleware.

Latest Stable VersionTotal DownloadsStyleCITravis-CI BuildLicense: MIT

Table of contents:

Laravel PHP Info
Easily showPHPInfo() page with blade templates
Can publish customizable views and assets
Enable/Disable Auth middleware
Specify additional middlewares
configuration options
Uses Languagelocalization files

Requirements

Installation Instructions

  1. From your projects root folder in terminal run:
    composer require jeremykenedy/laravel-phpinfo
  1. Register the package
  • Laravel 5.5 and upUses package auto discovery feature, no need to edit theconfig/app.php file.

  • Laravel 5.4 and belowRegister the package with laravel inconfig/app.php underproviders with the following:

'providers' => [jeremykenedy\laravelPhpInfo\LaravelPhpInfoServiceProvider::class,    ];
  1. 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

Laravel PHP Info can be configured in directly in/config/laravelPhpInfo.php file.

Config File

Here is the/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

Screenshot

PHP Info page

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 commandtree -a -I '.git|node_modules|vendor|storage|tests

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 werefollowed correctly.
  • Check that the issue is notspecific to your development environment setup.
  • Provideduplication steps.
  • Attempt to look into the issue, and if youhave a solution, make a pull request.
  • Show that you have made an attempt tolook into the issue.
  • Check to see if the issue you arereporting 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 tojeremykenedy@gmail.com
  • Need some help, I can do my best on Slack:https://opensourcehelpgroup.slack.com
  • 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

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

About

Laravel PHP Info is a package that provides a PHPInfo() page using blade templating. The config file can be used to enable/disable auth protection and specify the roles middleware.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp