PHPackages                             binarcode/restify-boost - 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. binarcode/restify-boost

ActiveLibrary[API Development](/categories/api)

binarcode/restify-boost
=======================

Restify Boost - AI-powered Laravel Restify assistant providing comprehensive documentation access and code generation tools.

v1.2.6(7mo ago)2193↓37.5%MITPHPPHP ^8.1CI passing

Since Aug 24Pushed 7mo agoCompare

[ Source](https://github.com/BinarCode/laravel-restify-boost)[ Packagist](https://packagist.org/packages/binarcode/restify-boost)[ Docs](https://github.com/binarcode/restify-boost)[ GitHub Sponsors](https://github.com/BinarCode)[ RSS](/packages/binarcode-restify-boost/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (14)Versions (11)Used By (0)

Restify Boost
=============

[](#restify-boost)

Introduction
------------

[](#introduction)

Restify Boost accelerates AI-assisted [Laravel Restify](https://github.com/binarcode/laravel-restify) development by providing comprehensive documentation access and code generation tools through the Model Context Protocol.

At its foundation, this package is an MCP server equipped with specialized tools designed to streamline Laravel Restify development workflows. The server provides access to complete documentation, API references, code examples, and troubleshooting guides.

Resources
---------

[](#resources)

- **[Laravel Restify](https://github.com/binarcode/laravel-restify)** - The main Laravel Restify package
- **[Official Documentation](https://restify.binarcode.com)** - Complete Laravel Restify documentation
- **[Free Templates](https://restifytemplates.com)** - Ready-to-use Laravel Restify templates

The first fully customizable Laravel [JSON:API](https://jsonapi.org) builder with MCP and GraphQL support. "CRUD" and protect your resources with 0 (zero) extra line of code.

[![Save weeks of API development](/src/Docs/starter-kit.png)](https://restifytemplates.com)

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

[](#installation)

Restify Boost can be installed via Composer:

```
composer require binarcode/restify-boost --dev
```

Next, install the MCP server:

```
php artisan restify-boost:install
```

Once installed, you're ready to start coding with Cursor, Claude Code, or your AI agent of choice.

Available MCP Tools
-------------------

[](#available-mcp-tools)

NameNotesSearch Restify DocsSearch through comprehensive Laravel Restify documentation with relevance scoringGet Code ExamplesExtract specific code examples from documentation with language and category filteringNavigate DocsBrowse documentation structure and categories with overview and detailed navigationGenerate RepositoryGenerate Laravel Restify repository classes with proper structure and methodsGenerate ActionGenerate Laravel Restify action classes for custom business logicGenerate GetterGenerate Laravel Restify getter classes for data transformationGenerate Match FilterGenerate Laravel Restify match filter classes for advanced filteringDebug ApplicationComprehensive debugging tool for Laravel Restify applications with health checks and diagnosticsUpgrade RestifyAutomated tool to upgrade Laravel Restify from version 9.x to 10.x with migration assistanceAvailable Documentation
-----------------------

[](#available-documentation)

PackageCoverageLaravel RestifyComplete documentation including API methods, field types, authentication, authorization, and performance guidesSpecialized Tools
-----------------

[](#specialized-tools)

### Debug Application Tool

[](#debug-application-tool)

The Debug Application Tool provides comprehensive diagnostics for Laravel Restify applications, helping developers identify and resolve common issues quickly.

#### Features

[](#features)

- **System Health Check**: Laravel version, PHP compatibility, environment validation, cache/storage testing
- **Configuration Analysis**: App config, database setup, Restify configuration validation
- **Database Health**: Connection testing, migration status, performance checks
- **Restify Analysis**: Repository discovery, route validation, service provider verification
- **Performance Analysis**: Memory usage, cache/session driver optimization suggestions
- **Automatic Issue Detection**: Severity classification with detailed reporting
- **Safe Auto-Fixes**: Automatically resolve common configuration problems

#### Parameters

[](#parameters)

- `check_type` (optional): Target specific areas - 'all', 'config', 'database', 'restify', 'performance', 'health' (default: 'all')
- `detailed_output` (optional): Include comprehensive diagnostic details (default: true)
- `fix_issues` (optional): Automatically resolve common configuration problems (default: false)
- `export_report` (optional): Save detailed markdown reports to storage/logs (default: false)
- `include_suggestions` (optional): Provide actionable improvement recommendations (default: true)

#### Usage Examples

[](#usage-examples)

```
# Run complete diagnostic
Debug Application with check_type="all"

# Check only database health
Debug Application with check_type="database"

# Run with automatic fixes
Debug Application with fix_issues=true

# Export detailed report
Debug Application with export_report=true detailed_output=true
```

### Upgrade Restify Tool

[](#upgrade-restify-tool)

The Upgrade Restify Tool automates the migration process from Laravel Restify 9.x to 10.x, ensuring smooth transitions with comprehensive analysis and backup creation.

#### Features

[](#features-1)

- **PHP Attributes Migration**: Converts static `$model` properties to modern `#[Model]` attributes
- **Field-Level Configuration**: Migrates static `$search`/`$sort` arrays to field-level methods
- **Configuration Compatibility**: Checks and validates config file compatibility
- **Backup Creation**: Automatically creates backups before making changes
- **Comprehensive Reporting**: Detailed analysis with migration recommendations
- **Interactive Mode**: Confirmation prompts for each repository migration
- **Complexity Scoring**: Evaluates repository complexity for prioritization

#### Parameters

[](#parameters-1)

- `dry_run` (optional): Preview changes without applying them (default: true)
- `migrate_attributes` (optional): Convert static `$model` properties to PHP attributes (default: true)
- `migrate_fields` (optional): Convert static `$search`/`$sort` arrays to field-level methods (default: true)
- `check_config` (optional): Check and report config file compatibility (default: true)
- `backup_files` (optional): Create backups of modified files (default: true)
- `interactive` (optional): Prompt for confirmation before each change (default: true)
- `path` (optional): Specific path to scan for repositories (defaults to app/Restify)

#### Migration Process

[](#migration-process)

1. **Repository Discovery**: Scans for Laravel Restify repositories in standard locations
2. **Analysis Phase**: Evaluates each repository for migration requirements
3. **Backup Creation**: Creates timestamped backups of files before modification
4. **Attribute Migration**: Converts `public static $model = Model::class;` to `#[Model(Model::class)]`
5. **Field Migration**: Moves search/sort configuration to field-level methods
6. **Configuration Check**: Validates config file compatibility with v10
7. **Comprehensive Reporting**: Provides detailed migration report with next steps

#### Usage Examples

[](#usage-examples-1)

```
# Dry run analysis (recommended first step)
Upgrade Restify with dry_run=true

# Apply migrations with backups
Upgrade Restify with dry_run=false backup_files=true

# Migrate only attributes
Upgrade Restify with dry_run=false migrate_fields=false

# Non-interactive mode
Upgrade Restify with dry_run=false interactive=false

# Custom repository path
Upgrade Restify with path="/app/Custom/Repositories"
```

#### Before &amp; After Examples

[](#before--after-examples)

**Before (Laravel Restify 9.x):**

```
class PostRepository extends Repository
{
    public static string $model = Post::class;

    public static array $search = ['title', 'content'];
    public static array $sort = ['created_at', 'title'];

    public function fields(RestifyRequest $request): array
    {
        return [
            field('title'),
            field('content'),
        ];
    }
}
```

**After (Laravel Restify 10.x):**

```
use Binaryk\LaravelRestify\Attributes\Model;

#[Model(Post::class)]
class PostRepository extends Repository
{
    public function fields(RestifyRequest $request): array
    {
        return [
            field('title')->searchable()->sortable(),
            field('content')->searchable(),
        ];
    }
}
```

Manually Registering the MCP Server
-----------------------------------

[](#manually-registering-the-mcp-server)

Sometimes you may need to manually register the Restify Boost MCP server with your editor of choice. You should register the MCP server using the following details:

**Command**`php`**Args**`./artisan restify-boost:start`JSON Example:

```
{
    "mcpServers": {
        "restify-boost": {
            "command": "php",
            "args": ["./artisan", "restify-boost:start"]
        }
    }
}
```

Contributing
------------

[](#contributing)

Thank you for considering contributing to Restify Boost! Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Eduard Lupacescu](https://github.com/binarcode) - BinarCode
- [All Contributors](../../contributors)

License
-------

[](#license)

Restify Boost is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance62

Regular maintenance activity

Popularity16

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

9

Last Release

234d ago

### Community

Maintainers

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

---

Top Contributors

[![binaryk](https://avatars.githubusercontent.com/u/6833714?v=4)](https://github.com/binaryk "binaryk (34 commits)")

---

Tags

laravelmcpdocumentationairestify

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/binarcode-restify-boost/health.svg)

```
[![Health](https://phpackages.com/badges/binarcode-restify-boost/health.svg)](https://phpackages.com/packages/binarcode-restify-boost)
```

###  Alternatives

[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.5k10.6M274](/packages/laravel-boost)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k7.8M57](/packages/dedoc-scramble)[laravel/ai

The official AI SDK for Laravel.

732506.3k60](/packages/laravel-ai)[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[mll-lab/laravel-graphiql

Easily integrate GraphiQL into your Laravel project

683.2M9](/packages/mll-lab-laravel-graphiql)[neuron-core/neuron-laravel

Official Neuron AI Laravel SDK.

10710.0k](/packages/neuron-core-neuron-laravel)

PHPackages © 2026

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