PHPackages                             robiiinos/laravel-time - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. robiiinos/laravel-time

AbandonedArchivedLibrary

robiiinos/laravel-time
======================

Register a '/time' endpoint to your Laravel API.

v1.1.2(4y ago)391MITPHPPHP ^7.4|^8.0

Since Dec 1Pushed 4y ago1 watchersCompare

[ Source](https://github.com/robiiinos/laravel-time)[ Packagist](https://packagist.org/packages/robiiinos/laravel-time)[ Docs](https://github.com/robiiinos/laravel-time)[ RSS](/packages/robiiinos-laravel-time/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (5)Used By (0)

Laravel Time
============

[](#laravel-time)

[![Latest Version on Packagist](https://camo.githubusercontent.com/376842e4d3c4f692cf06339aaf100aa9c11e88272274bd8313dfe41aabaee7b6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f626969696e6f732f6c61726176656c2d74696d652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/robiiinos/laravel-time)[![GitHub Tests Action Status](https://camo.githubusercontent.com/bfa91aa3676c28de2e593a57efb396ec7d0079f548d6c7849f4b24401a34e010/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f726f626969696e6f732f6c61726176656c2d74696d652f54657374733f6c6162656c3d7465737473)](https://github.com/robiiinos/laravel-time/actions?query=workflow%3ATests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/19495eb69e0579a44d2d3acf1767fb53d1878b4007bdcd86a160c23dce487321/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726f626969696e6f732f6c61726176656c2d74696d652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/robiiinos/laravel-time)

Register a `/time` endpoint to your Laravel API.

Use case:

- Endpoint for monitoring.
- Synchronize other applications with your server (for timing security in trading applications, ...).

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require robiiinos/laravel-time
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Robiiinos\LaravelTime\LaravelTimeServiceProvider" --tag="config"
```

This is the content of the config file:

```
return [

    /*
    |--------------------------------------------------------------------------
    | Laravel Time Route Prefix
    |--------------------------------------------------------------------------
    |
    | This prefix will be assigned to every Laravel Time route, giving you
    | the chance to set your own prefix or change the existing prefix.
    |
    */

    'prefix' => 'api',

    /*
    |--------------------------------------------------------------------------
    | Laravel Time Route Middleware
    |--------------------------------------------------------------------------
    |
    | These middleware will be assigned to every Laravel Time route, giving you
    | the chance to add your own middleware to this list or change any of
    | the existing middleware. Or, you can simply stick with this list.
    |
    */

    'middleware' => [
        'api',
    ],

];
```

Usage
-----

[](#usage)

This package takes advantage of Laravel [Package Discovery](https://laravel.com/docs/8.x/packages#package-discovery), therefore there is no configuration to be made our your application.

Testing
-------

[](#testing)

```
composer test
```

Credits
-------

[](#credits)

- [robiiinos](https://github.com/robiiinos)
- [All Contributors](../../contributors)

License
-------

[](#license)

MIT License. Please see [LICENSE](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~64 days

Total

4

Last Release

1794d ago

PHP version history (2 changes)v1.0.0PHP ^7.4

v1.1.0PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/c1bebdcbb6b98b6b8f5bbc614f94a214cb38d6b61e89b62ea3345e88f0a83b08?d=identicon)[robiiinos](/maintainers/robiiinos)

---

Top Contributors

[![robiiinos](https://avatars.githubusercontent.com/u/16455953?v=4)](https://github.com/robiiinos "robiiinos (5 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/robiiinos-laravel-time/health.svg)

```
[![Health](https://phpackages.com/badges/robiiinos-laravel-time/health.svg)](https://phpackages.com/packages/robiiinos-laravel-time)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
