Git Product home page Git Product logo

server-info's Introduction

Total Downloads GitHub stars GitHub issues GitHub forks

logo

Server Info Package

This package provides a set of key information about your server in order to view it to the user.

Installation

You can install the package via composer:

composer require somarkn99/host-info

Config

copy path to config/app.php:

Somarkn99\HostInfo\Providers\HostInfoProvider::class

Usage

After you Install package and upload to you host, you will have this route:

www.your-domain.com/api/server/info

When you request the endpoint it will return array:

  • ✅ Server OS
  • ✅ Server Software
  • ✅ Server IP
  • ✅ Server Port
  • ✅ Server Country
  • ✅ Server City
  • ✅ Server Hostname
  • ✅ Document Root
  • ✅ Total CPUs
  • ✅ Total Ram
  • ✅ PHP Version
  • ✅ PHP Max Upload Size
  • ✅ PHP Max Execution Time
  • ✅ PHP Short Tag
  • ✅ PHP Memory Limit

Where you can use this ? 🤔

The idea for this came when one of my clients asked me to access the basic server information from the control panel, now you can show it to the user easily instead of writing it in every new project from the beginning.

Note ⚠️

Not all of these codes have to be from my pure work, there are many of them on the Internet that I may have done some but not limited to some modification, improvement, or modification of the appearance of the code to become readable, understandable or appropriate to the place of use. If you have any code you think will be useful and people will use frequently in many projects do not hesitate to do a pull request to this repo.

Let's Connect

Hire Me 🔥

By the way, I'm available to work as freelancer, feel free to communicate with me in order to transform your project from an idea to reality.

You Can contact me for freelancer job vie email :

Security

If you discover any security related issues, please email them first to [email protected], if we do not fix it within a short period of time please open a new issue describe your problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.