Download the PHP package binaryk/laravel-restify without Composer
On this page you can find all versions of the php package binaryk/laravel-restify. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download binaryk/laravel-restify
More information about binaryk/laravel-restify
Files in binaryk/laravel-restify
Package laravel-restify
Short Description Laravel REST API helpers
License MIT
Homepage https://github.com/BinarCode/laravel-restify
Informations about the package laravel-restify
Unified Laravel API Layer for Humans and AI
One Codebase. REST for Humans, MCP for AI Agents.
Laravel Restify turns your Eloquent models into both JSON:API endpoints and MCP servers -- automatically. Build once, and instantly serve APIs that work seamlessly for developers, apps, and AI agents.
🚀 The Power of One Codebase
Traditional API development requires separate implementations for different consumers. Laravel Restify changes that:
- 👥 Humans get full-featured JSON:API endpoints
- 🤖 AI Agents get structured MCP (Model Context Protocol) servers
- 🔒 Same Rules - All authentication, authorization, and policies apply to both
- 📝 One Definition - Write your repository once, serve everywhere
Key Features
- JSON:API Endpoints - Full JSON:API specification compliance
- MCP Server Generation - Automatic AI agent interfaces with tool definitions
- Unified Authorization - Laravel policies protect both human and AI access
- Search & Filtering - Powerful query capabilities for all consumers
- Authentication - Laravel Sanctum integration for secure access
- GraphQL Support - Auto-generated GraphQL schemas
- Field Validation - Consistent validation rules across all interfaces
Installation
Quick Start
1. Setup the package:
2. Create your first repository:
3. Enable MCP for AI agents (optional):
Add to your config/ai.php
:
That's it! Your API now serves both:
For Humans (JSON:API):
For AI Agents (MCP):
Example Repository
This single definition automatically provides:
- ✅ JSON:API CRUD endpoints with validation
- ✅ MCP tools for AI agents with the same validation
- ✅ Authorization policies applied to both interfaces
- ✅ Search and filtering capabilities for all consumers
One Codebase, Two Outputs
Here's what you get from one repository definition:
For Humans (JSON:API Response)
For AI Agents (MCP Tool Definition)
All generated from this simple repository:
Restify Boost
Laravel Restify Boost is a development companion that provides MCP server capabilities to help you build Restify APIs faster with AI assistance.
Repository: laravel-restify-boost
Features:
- Documentation access for AI agents
- Repository and action generation assistance
- Code examples and best practices
- Integration with Claude Desktop and other AI tools
Installation:
Templates
Need a production-ready starting point? Check out Restify Templates for complete API starter kits with authentication, permissions, and team management.
Resources
- Documentation - Complete guides and API reference
- Demo Repository - Working example
- Video Course - Visual learning resource
Testing
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Eduard Lupacescu
- Koen Koenster
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-restify with dependencies
illuminate/contracts Version ^11.0|^12.0
laravel/framework Version ^11.0|^12.0
laravel/mcp Version ^0.2.0
laravel/pint Version ^1.25.1
spatie/laravel-data Version ^4.4
spatie/laravel-package-tools Version ^1.12
spatie/once Version ^3.0