PHPackages                             sophireak/laracheck - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sophireak/laracheck

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sophireak/laracheck
===================

A smart pre-push helper script for Laravel teams. Checks setup, fixes safe issues, and explains problems with AI.

v1.0.9(3mo ago)08↓90.9%MITPHPPHP ^8.0

Since Mar 31Pushed 3mo agoCompare

[ Source](https://github.com/Sophireak/laracheck)[ Packagist](https://packagist.org/packages/sophireak/laracheck)[ RSS](/packages/sophireak-laracheck/feed)WikiDiscussions main Synced 4w ago

READMEChangelogDependencies (4)Versions (11)Used By (0)

LaraCheck
=========

[](#laracheck)

A smart pre-push helper for Laravel teams. Checks your project, fixes safe issues silently, and explains problems with AI.

---

Install
-------

[](#install)

```
composer require sophireak/laracheck
php artisan laracheck:install
```

Done. It runs automatically before every `git push`.

---

Commands
--------

[](#commands)

```
# Run manually
php artisan laracheck

# Run without auto-fix
php artisan laracheck --no-fix

# Run without AI explanations (faster, offline)
php artisan laracheck --no-ai

# Block push if issues remain
php artisan laracheck --strict

# One-time setup
php artisan laracheck:install

# Emergency bypass
git push --no-verify
```

---

What it checks
--------------

[](#what-it-checks)

CheckAuto-fix`.env` exists✅`APP_KEY` set✅Missing `.env` keys⚠ warnPending migrations⚠ warn only`node_modules`✅Assets (only if frontend changed)✅Storage symlink &amp; permissions✅`vendor/`✅Uncommitted files⚠ warnPush to main/master⚠ warnAuto-fix is safe only — setup, installs, permissions. Never touches source code or git history.

---

Config
------

[](#config)

```
php artisan vendor:publish --tag=laracheck-config
```

Edit `config/laracheck.php`:

```
'mode'               => 'soft',        // soft | strict
'protected_branches' => ['main', 'master'],
'anthropic_api_key'  => env('ANTHROPIC_API_KEY'),
```

---

.env
----

[](#env)

```
ANTHROPIC_API_KEY=sk-ant-your-key-here
LARACHECK_MODE=soft
```

---

License
-------

[](#license)

MIT — Sophireak

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance82

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

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

Total

10

Last Release

90d ago

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

v1.0.7PHP ^8.0

### Community

Maintainers

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

---

Top Contributors

[![Sophireak](https://avatars.githubusercontent.com/u/63222375?v=4)](https://github.com/Sophireak "Sophireak (10 commits)")

---

Tags

laravelaideveloper-toolspre-pushgit hook

### Embed Badge

![Health badge](/badges/sophireak-laracheck/health.svg)

```
[![Health](https://phpackages.com/badges/sophireak-laracheck/health.svg)](https://phpackages.com/packages/sophireak-laracheck)
```

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k2.1M168](/packages/laravel-ai)[zidbih/laravel-deadlock

Make temporary Laravel workarounds expire and fail CI when ignored.

984.0k](/packages/zidbih-laravel-deadlock)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

19253.0k3](/packages/interaction-design-foundation-laravel-geoip)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.2k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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