2017 © Pedro PelΓ‘ez
 

library laravel-phpinfo

phpinfo() in a pretty Laravel blade template

image

jeremykenedy/laravel-phpinfo

phpinfo() in a pretty Laravel blade template

  • Sunday, May 13, 2018
  • by jeremykenedy
  • Repository
  • 2 Watchers
  • 13 Stars
  • 5,526 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 7 Versions
  • 48 % Grown

The README.md

Laravel PHP Info, (*1)

Laravel PHP Info

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., (*2)

Latest Stable Version Total Downloads StyleCI Travis-CI Build License: MIT, (*3)

Table of contents: - Features - Requirements - Installation Instructions - Configuration - Route - Screenshot - File Tree - Opening an Issue - License, (*4)

Laravel PHP Info
Easily show PHPInfo() page with blade templates
Can publish customizable views and assets
Enable/Disable Auth middleware
Specify additional middlewares
configuration options
Uses Language localization 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 up Uses package auto discovery feature, no need to edit the config/app.php file., (*5)

  • Laravel 5.4 and below Register the package with laravel in config/app.php under providers with the following:, (*6)

    '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., (*7)

Config File

Here is the /config/laravelPhpInfo.php configuration options:, (*8)

/*
|--------------------------------------------------------------------------
| 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, (*9)

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

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 jeremykenedy@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., (*10)

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

License

Laravel PHP Info is licensed under the MIT license. Enjoy!, (*12)

The Versions

13/05 2018

dev-master

9999999-dev

phpinfo() in a pretty Laravel blade template

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Jeremy Kenedy

phpinfo laravel phpinfo laravel php info

15/03 2018

v1.2.0

1.2.0.0

phpinfo() in a pretty Laravel blade template

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Jeremy Kenedy

phpinfo laravel phpinfo laravel php indo

25/02 2018

v1.1.0

1.1.0.0

phpinfo() in a pretty Laravel blade template

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Jeremy Kenedy

phpinfo laravel phpinfo laravel php indo

03/02 2018

v1.0.0

1.0.0.0

phpinfo() in a pretty Laravel blade template

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Jeremy Kenedy

phpinfo laravel phpinfo laravel php indo

03/02 2018

v0.0.3

0.0.3.0

PhpInfo in a for Laravel in a blade template

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Jeremy Kenedy

phpinfo laravel phpinfo laravel php indo

03/02 2018

v0.0.2

0.0.2.0

PhpInfo in a for Laravel in a blade template

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Jeremy Kenedy

phpinfo laravel phpinfo laravel php indo

03/02 2018

v0.0.1

0.0.1.0

PhpInfo in a for Laravel in a blade template

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Jeremy Kenedy

phpinfo laravel phpinfo laravel php indo