PHPackages                             yaroslawww/laravel-thinkit - 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. yaroslawww/laravel-thinkit

Abandoned → [think.studio/laravel-thinkit](/?search=think.studio%2Flaravel-thinkit)Library

yaroslawww/laravel-thinkit
==========================

Laravel small kit for quicker development.

1.4.0(1y ago)0135MITPHPPHP ^8.1

Since Sep 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/dev-think-one/laravel-thinkit)[ Packagist](https://packagist.org/packages/yaroslawww/laravel-thinkit)[ Docs](https://github.com/dev-think-one/laravel-thinkit)[ RSS](/packages/yaroslawww-laravel-thinkit/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (6)Versions (19)Used By (0)

Laravel think kit.
==================

[](#laravel-think-kit)

[![Packagist License](https://camo.githubusercontent.com/44765707e37316a92fe83b01e90149fff4857b902ac493a98470abc7de52c4ee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7468696e6b2e73747564696f2f6c61726176656c2d7468696e6b69743f636f6c6f723d253233346463373166)](https://camo.githubusercontent.com/44765707e37316a92fe83b01e90149fff4857b902ac493a98470abc7de52c4ee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7468696e6b2e73747564696f2f6c61726176656c2d7468696e6b69743f636f6c6f723d253233346463373166)[![Packagist Version](https://camo.githubusercontent.com/7e63a53ebc9541415badb26a11d8eff639f8f66260dc32946bce502e9ff7a771/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7468696e6b2e73747564696f2f6c61726176656c2d7468696e6b6974)](https://packagist.org/packages/think.studio/laravel-thinkit)[![Total Downloads](https://camo.githubusercontent.com/3f6fe5ef5349cfe69438e4591c87311e744b8e7bca7efe88e8d09c07025052df/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7468696e6b2e73747564696f2f6c61726176656c2d7468696e6b6974)](https://packagist.org/packages/think.studio/laravel-thinkit)[![Build Status](https://camo.githubusercontent.com/d81fb0b7cea9e0d0c8cad78cf346a4656015be4e470b6927f8d310c90ff318ee/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6465762d7468696e6b2d6f6e652f6c61726176656c2d7468696e6b69742f6261646765732f6275696c642e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/dev-think-one/laravel-thinkit/build-status/main)[![Code Coverage](https://camo.githubusercontent.com/ccd4fa886e042416e32c0a0ced2f7bbbaaea7f5e8c95b8f7c2f3eb1e7aff62cc/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6465762d7468696e6b2d6f6e652f6c61726176656c2d7468696e6b69742f6261646765732f636f7665726167652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/dev-think-one/laravel-thinkit/?branch=main)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f8f394059a38328180552ada8ada9220759b675ab9d7d878ca0c96dd4cd018ce/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6465762d7468696e6b2d6f6e652f6c61726176656c2d7468696e6b69742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/dev-think-one/laravel-thinkit/?branch=main)

Laravel small kit for quicker development.

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

[](#installation)

Install the package via composer:

```
composer require think.studio/laravel-thinkit
```

Optionally you can publish the config file with:

```
php artisan vendor:publish --provider="ThinKit\ServiceProvider" --tag="config"
```

Usage
-----

[](#usage)

### Helpers

[](#helpers)

#### SQL

[](#sql)

```
\ThinKit\Helpers\Sql::readableSqlFromQuery(MyModel::whereKey(123));
```

#### URL

[](#url)

```
\ThinKit\Helpers\Url::addOrUpdateArgs('https://my.path.co.uk?example=foo&test=bar', 'new', 'baz');
```

#### DateTime

[](#datetime)

```
$formats = [
            'Y-m-d',
            'Y-m-d\TH:i:s',
        ];

$carbonDate = \ThinKit\Helpers\DateTime::createFromMultipleFormats($formats, '2022-09-28T08:19:00');
$carbonDate->format('Y-m-d H:i:s');
```

### Enums

[](#enums)

```
use ThinKit\Enums\HasNames;
use ThinKit\Enums\NamedEnum;

enum SalesCallType: string implements NamedEnum
{
    use HasNames;

    case GENERAL = 'general';
    case EVENT = 'event';
    case AWARD = 'award';
}

SalesCallType::GENERAL->name() // translation label
SalesCallType::options() // ["" => ""]
SalesCallType::formattedOptions() // [["value" => "", "label" => ""]]
```

Credits
-------

[](#credits)

- [![Think Studio](https://camo.githubusercontent.com/8e541bece07d503c85a126b5294865faa00e27371048772f566a0cce8c01fd3a/68747470733a2f2f7961726f736c617777772e6769746875622e696f2f696d616765732f73706f6e736f72732f7061636b616765732f6c6f676f2d7468696e6b2d73747564696f2e706e67)](https://think.studio/)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

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 ~35 days

Recently: every ~78 days

Total

18

Last Release

729d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23663794?v=4)[yaroslawww](/maintainers/yaroslawww)[@yaroslawww](https://github.com/yaroslawww)

---

Top Contributors

[![yaroslawww](https://avatars.githubusercontent.com/u/23663794?v=4)](https://github.com/yaroslawww "yaroslawww (21 commits)")

---

Tags

laravelkit

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/yaroslawww-laravel-thinkit/health.svg)

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

###  Alternatives

[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)

PHPackages © 2026

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