PHPackages                             gruya/laravel-mobile-api-starter-kit - 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. [API Development](/categories/api)
4. /
5. gruya/laravel-mobile-api-starter-kit

ActiveProject[API Development](/categories/api)

gruya/laravel-mobile-api-starter-kit
====================================

Minimal type safe starter kit for mobile-first apps with OTP and action pattern.

v1.0.3(2mo ago)03MITPHPPHP ^8.5.0

Since Apr 27Pushed 2mo agoCompare

[ Source](https://github.com/grruya/laravel-mobile-api-starter-kit)[ Packagist](https://packagist.org/packages/gruya/laravel-mobile-api-starter-kit)[ RSS](/packages/gruya-laravel-mobile-api-starter-kit/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (17)Versions (5)Used By (0)

Laravel Mobile API Starter Kit
==============================

[](#laravel-mobile-api-starter-kit)

Minimal **type-safe** starter kit for mobile-first apps with OTP and action pattern.

Why use it?
-----------

[](#why-use-it)

- OTP over signed link for better mobile UX
- Versioned API routes
- Action pattern
- CRUD controllers
- Type-safe with PHPStan **at max level**
- Consistency and refactoring with Rector and Pint
- AI-ready with **[Laravel Boost](https://github.com/laravel/boost)**
- Better defaults, thanks to **[Essentials](https://github.com/nunomaduro/essentials)**
- Feature, unit, and architecture tests

Getting Started
---------------

[](#getting-started)

You need:

- [PHP 8.5+](https://php.net/releases/)
- [Composer](https://getcomposer.org)
- A database driver supported by Laravel

Create the app:

```
composer create-project gruya/laravel-mobile-api-starter-kit --prefer-dist example-app
```

Move in and set it up:

```
cd example-app
composer setup
php artisan boost:install
```

Start local dev:

```
composer dev
```

Check the project:

```
composer test
```

That runs Rector check, Pint check, PHPStan, and the Laravel test suite.

Available Tooling
-----------------

[](#available-tooling)

### Development

[](#development)

- `composer dev` - Runs the Laravel server, queue listener, and Pail logs

### Code Quality

[](#code-quality)

- `composer refactor` - Runs Rector and changes code
- `composer test:refactor` - Runs Rector without changing files
- `composer lint` - Runs Pint and fixes PHP style
- `composer test:lint` - Runs Pint without changing files

### Testing

[](#testing)

- `composer test:types` - Runs PHPStan/Larastan
- `composer test:unit` - Clears Laravel config and runs tests
- `composer test` - Runs all checks above
- `composer test:apply` - Same as above just applies Pint and Rector changes

Similar recommended kits
------------------------

[](#similar-recommended-kits)

All **these** kits have PHPStan **at max level**, with Pint and Rector.

- **[Laravel API Kit](https://github.com/Grazulex/laravel-api-kit)**: Spatie-oriented with a different pattern
- **[Laravel Inertia &amp; React](https://github.com/nunomaduro/laravel-starter-kit-inertia-react)**: Web-only with a similar **pattern**
- **[Laravel Inertia &amp; Vue](https://github.com/nunomaduro/laravel-starter-kit-inertia-react)**: Web-only with a similar **pattern**
- **[Laravel Blade](https://github.com/nunomaduro/laravel-starter-kit-inertia-react)**: Web-only with a similar **pattern**

License
-------

[](#license)

**This Starter Kit** was created by **[Gruya](https://x.com/gruya_)** under the **[MIT license](https://opensource.org/licenses/MIT)**.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance87

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

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

Total

4

Last Release

74d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

apilaravelotpmobilesanctumstarter-kit

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/gruya-laravel-mobile-api-starter-kit/health.svg)

```
[![Health](https://phpackages.com/badges/gruya-laravel-mobile-api-starter-kit/health.svg)](https://phpackages.com/packages/gruya-laravel-mobile-api-starter-kit)
```

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3991.8k](/packages/codewithdennis-larament)

PHPackages © 2026

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