{"id":13546600,"url":"https://github.com/jeremykenedy/laravel-phpinfo","last_synced_at":"2025-03-16T18:31:24.628Z","repository":{"id":56998065,"uuid":"120066993","full_name":"jeremykenedy/laravel-phpinfo","owner":"jeremykenedy","description":"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.","archived":false,"fork":false,"pushed_at":"2021-01-06T01:10:13.000Z","size":36,"stargazers_count":44,"open_issues_count":1,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-27T12:08:26.288Z","etag":null,"topics":["laravel-php-details","laravel-phpinfo","php-details","php-info","phpinfo"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeremykenedy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["jeremykenedy"],"patreon":"jeremykenedy"}},"created_at":"2018-02-03T06:48:20.000Z","updated_at":"2023-03-16T09:04:12.000Z","dependencies_parsed_at":"2022-08-21T14:50:12.552Z","dependency_job_id":null,"html_url":"https://github.com/jeremykenedy/laravel-phpinfo","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremykenedy%2Flaravel-phpinfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremykenedy%2Flaravel-phpinfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremykenedy%2Flaravel-phpinfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremykenedy%2Flaravel-phpinfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeremykenedy","download_url":"https://codeload.github.com/jeremykenedy/laravel-phpinfo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826788,"owners_count":20354220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel-php-details","laravel-phpinfo","php-details","php-info","phpinfo"],"created_at":"2024-08-01T12:00:40.784Z","updated_at":"2025-03-16T18:31:23.933Z","avatar_url":"https://github.com/jeremykenedy.png","language":"PHP","funding_links":["https://github.com/sponsors/jeremykenedy","https://patreon.com/jeremykenedy"],"categories":["Laravel-Auth"],"sub_categories":["Environment File"],"readme":"![Laravel PHP Info](https://github-project-images.s3-us-west-2.amazonaws.com/logos/laravel-php-info-logo.png)\n\n# Laravel PHP Info\nLaravel 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.\n\n[![Latest Stable Version](https://poser.pugx.org/jeremykenedy/laravel-phpinfo/v/stable)](https://packagist.org/packages/jeremykenedy/laravel-phpinfo)\n[![Total Downloads](https://poser.pugx.org/jeremykenedy/laravel-phpinfo/downloads)](https://packagist.org/packages/jeremykenedy/laravel-phpinfo)\n[![StyleCI](https://github.styleci.io/repos/120066993/shield?branch=master)](https://github.styleci.io/repos/120066993)\n[![Travis-CI Build](https://travis-ci.org/jeremykenedy/laravel-phpinfo.svg?branch=master)](https://travis-ci.org/jeremykenedy/laravel-phpinfo)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nTable of contents:\n- [Features](#features)\n- [Requirements](#requirements)\n- [Installation Instructions](#installation-instructions)\n- [Configuration](#configuration)\n- [Route](#route)\n- [Screenshot](#screenshot)\n- [File Tree](#file-tree)\n- [Opening an Issue](#opening-an-issue)\n- [License](#license)\n\n| Laravel PHP Info |\n| :------------ |\n| Easily show [PHPInfo()](http://php.net/manual/en/function.phpinfo.php) page with blade templates |\n| Can publish customizable views and assets |\n| Enable/Disable Auth middleware |\n| Specify additional middlewares |\n| [configuration](#configuration) options |\n| Uses Language [localization](https://laravel.com/docs/5.5/localization) files |\n\n### Requirements\n* [Laravel 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, 6, 7 and 8+](https://laravel.com/docs/installation)\n\n### Installation Instructions\n1. From your projects root folder in terminal run:\n\n```bash\n    composer require jeremykenedy/laravel-phpinfo\n```\n\n2. Register the package\n\n* Laravel 5.5 and up\nUses package auto discovery feature, no need to edit the `config/app.php` file.\n\n* Laravel 5.4 and below\nRegister the package with laravel in `config/app.php` under `providers` with the following:\n\n```php\n    'providers' =\u003e [\n        jeremykenedy\\laravelPhpInfo\\LaravelPhpInfoServiceProvider::class,\n    ];\n```\n\n3. Publish the packages views, config file, assets, and language files by running the following from your projects root folder:\n\n```bash\n    php artisan vendor:publish --tag=laravelPhpInfo\n```\n\n### Configuration\nLaravel PHP Info can be configured in directly in [`/config/laravelPhpInfo.php`](https://github.com/jeremykenedy/laravel-phpinfo/blob/master/src/config/laravelPhpInfo.php) file.\n\n##### Config File\nHere is the [`/config/laravelPhpInfo.php`](https://github.com/jeremykenedy/laravel-phpinfo/blob/master/src/config/laravelPhpInfo.php) configuration options:\n\n```php\n/*\n|--------------------------------------------------------------------------\n| Laravel PHP Info settings\n|--------------------------------------------------------------------------\n*/\n\n// The parent blade file\n'laravelPhpInfoBladeExtended'   =\u003e 'layouts.app',\n\n// Enable `auth` middleware\n'authEnabled'                   =\u003e true,\n\n// Enable Optional Roles Middleware\n'rolesEnabled'                  =\u003e false,\n\n// Optional Roles Middleware\n'rolesMiddlware'                =\u003e 'role:admin',\n\n'bootstapVersion'               =\u003e '4',\n\n// Additional Card classes for styling -\n// See: https://getbootstrap.com/docs/4.0/components/card/#background-and-color\n// Example classes: 'text-white bg-primary mb-3'\n'bootstrapCardClasses'          =\u003e '',\n```\n\n### Route\n* [`/phpinfo`](https://github.com/jeremykenedy/laravel-phpinfo/blob/master/src/resources/views/phpinfo/php-info.blade.php)\n\n### Screenshot\n![PHP Info page](https://s3-us-west-2.amazonaws.com/github-project-images/laravel-phpinfo/phpinfo1.jpg)\n\n### File Tree\n\n```\nLaravelPhpInfo\n    ├── .gitignore\n    ├── .travis.yml\n    ├── LICENSE\n    ├── README.md\n    ├── composer.json\n    └── src\n        ├── app\n        │   └── Http\n        │       └── Controllers\n        │           └── LaravelPhpInfoController.php\n        ├── config\n        │   └── laravelPhpInfo.php\n        ├── laravelPhpInfoServiceProvider.php\n        ├── resources\n        │   ├── lang\n        │   │   └── en\n        │   │       └── laravel-phpinfo.php\n        │   └── views\n        │       └── phpinfo\n        │           └── php-info.blade.php\n        └── routes\n            └── web.php\n\n```\n\n* Tree command can be installed using brew: `brew install tree`\n* File tree generated using command `tree -a -I '.git|node_modules|vendor|storage|tests`\n\n### Opening an Issue\nBefore opening an issue there are a couple of considerations:\n* You are all awesome!\n* **Read the instructions** and make sure all steps were *followed correctly*.\n* **Check** that the issue is not *specific to your development environment* setup.\n* **Provide** *duplication steps*.\n* **Attempt to look into the issue**, and if you *have a solution, make a pull request*.\n* **Show that you have made an attempt** to *look into the issue*.\n* **Check** to see if the issue you are *reporting is a duplicate* of a previous reported issue.\n* **Following these instructions show me that you have tried.**\n* If you have a questions send me an email to jeremykenedy@gmail.com\n* Need some help, I can do my best on Slack: https://opensourcehelpgroup.slack.com\n* Please be considerate that this is an open source project that I provide to the community for FREE when openeing an issue. \n\nOpen source projects are a the community’s responsibility to use, contribute, and debug.\n\n### License\nLaravel PHP Info is licensed under the MIT license. Enjoy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremykenedy%2Flaravel-phpinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeremykenedy%2Flaravel-phpinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremykenedy%2Flaravel-phpinfo/lists"}