Download the PHP package thtg88/laravel-pingable without Composer
On this page you can find all versions of the php package thtg88/laravel-pingable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download thtg88/laravel-pingable
More information about thtg88/laravel-pingable
Files in thtg88/laravel-pingable
Download thtg88/laravel-pingable
More information about thtg88/laravel-pingable
Files in thtg88/laravel-pingable
Vendor thtg88
Package laravel-pingable
Short Description Pingable provides a ping route for your Laravel application.
License MIT
Package laravel-pingable
Short Description Pingable provides a ping route for your Laravel application.
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-pingable
Pingable
Pingable provides a ping route for your Laravel application.
Installation
Publish Configuration
If you want to change any of the default configuration variables, you can publish the config file with the following command:
Available configuration options
| Config Option | Type | Description | Default |
|---|---|---|---|
pingable.response |
mixed |
the response to be output by the controller. Please note this is output as JSON, so it must be something that is accepted by the Laravel Framework's response()->json(...) method |
['success' => true] |
pingable.route.method |
string |
the lowercased HTTP method the Pingable route responds to. This is anything supported by the Laravel Framework (get, post, etc.) |
get |
pingable.route.name |
string |
the name of the route, so that you can use it across the app, e.g. route(config('pingable.route.name')) |
pingable.api.ping |
pingable.route.path |
string |
the URI where the ping request will be reachable | pingable/api/ping |
pingable.controller |
string |
the fully-qualified classname of the controller that responds to the pingable.ping route. ⚠️ Once you override this, you are on your own! ⚠️ |
Thtg88\Pingable\Http\Controllers\PingController |
License
MIT
All versions of laravel-pingable with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
illuminate/config Version ^12.0
illuminate/http Version ^12.0
illuminate/routing Version ^12.0
illuminate/support Version ^12.0
illuminate/config Version ^12.0
illuminate/http Version ^12.0
illuminate/routing Version ^12.0
illuminate/support Version ^12.0
The package thtg88/laravel-pingable contains the following files
Loading the files please wait ...