https://github.com/visualappeal/ping-laravel
PHP uptime monitor with laravel
https://github.com/visualappeal/ping-laravel
laravel php uptime
Last synced: 6 months ago
JSON representation
PHP uptime monitor with laravel
- Host: GitHub
- URL: https://github.com/visualappeal/ping-laravel
- Owner: VisualAppeal
- License: mit
- Created: 2014-01-08T10:37:07.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-04-15T16:56:21.000Z (over 2 years ago)
- Last Synced: 2025-03-21T08:34:57.197Z (7 months ago)
- Topics: laravel, php, uptime
- Language: PHP
- Homepage:
- Size: 163 KB
- Stars: 29
- Watchers: 8
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://insight.sensiolabs.com/account/widget?project=d1c84f2e-5a58-465e-b49c-3d72f1f4c683)
This application monitors the uptime by making cURL requests to a defined set of websites and display the data in charts.
The only languages currently available are english and german. You can edit the language files in `app/lang/[2_LETTER_COUNTRY_CODE]/*.php`. Just copy the english/german translation and edit the files. Pull requests are welcomed.
## Requirements
* npm (node.js package manger)
## Screenshots


## Configuration
In the future there might be an installer.
Set the environment variable `APPLICATION_ENV` to a value which is unequal `testing`, e.g. `development` or `production`. Create the folder `app/config/[APPLICATION_ENV]`. All config files in this directory will be merged with the config files in `app/config`. The most important files are `database.php` and `app.php` which should similar to this:
```php
array(
'app' => array(
'driver' => 'mysql',
'host' => 'localhost',
'database' => 'ping_database',
'username' => 'ping_database_user',
'password' => 'ping_database_user_password',
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => 'ping_',
),
),
);
``````php
array(
'datetime' => 'd/m/Y H:i', // see http://php.net/date
),
'url' => 'http://127.0.0.1/ping/public',
'locale' => 'en',
'timezone' => 'Europe/Berlin',
'key' => '' // 32 random alphanumeric chars
);
```For a normal installation you should create an `auth.php` which will create a admin after installation:
```php
array(
'email' => 'email@example.com',
'password' => '123456',
),
);
```## Installation
1. Clone the repository
2. Create your config
4. `php artisan migrate --package=cartalyst/sentry`
5. `php artisan migrate`
6. `grunt build`
4. visit http://url-to-repository/public## ToDo
* Dashboard!
* Search in body for string when checking uptime
* Fix translation issues
* Unit Tests## Contributors, Credits and libraries
* Framework: http://laravel.com/
* User management: https://cartalyst.com/manual/sentry
* Uptime check: https://github.com/rmccue/Requests/
* Favicon: http://www.iconarchive.com/show/ivista-2-icons-by-gakuseisean/Files-Upload-File-icon.html