PHPackages                             martink/laravel-devcopilot - 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. martink/laravel-devcopilot

ActiveLibrary

martink/laravel-devcopilot
==========================

Laravel package that integrates ChatGPT into your Artisan CLI

v1.4.1(1y ago)22MITPHPPHP ^8.1 || ^8.4

Since May 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/karadzinov/laravel-devcopilot)[ Packagist](https://packagist.org/packages/martink/laravel-devcopilot)[ RSS](/packages/martink-laravel-devcopilot/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Laravel DevCopilot
==================

[](#laravel-devcopilot)

**DevCopilot** is a Laravel package that integrates ChatGPT directly into your Artisan CLI, giving you an intelligent assistant for explaining code, generating ideas, and streamlining development tasks—all without leaving your terminal.

[![Packagist Version](https://camo.githubusercontent.com/23101b4cd13c0948171a8ad0db3833afdba94cdf7be056c87776f563aaa88b3c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d617274696e6b2f6c61726176656c2d646576636f70696c6f742e737667)](https://packagist.org/packages/martink/laravel-devcopilot)[![Packagist Downloads](https://camo.githubusercontent.com/cdcba5e086d8fe4420f1a732071febff9a04e9eb82a76157021dc220c09c9158/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d617274696e6b2f6c61726176656c2d646576636f70696c6f742e737667)](https://packagist.org/packages/martink/laravel-devcopilot)[![MIT License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://opensource.org/licenses/MIT)

---

🚀 Features
----------

[](#-features)

- 🤖 Ask ChatGPT questions directly from your Laravel project
- 🗂️ Include file contents as context using `--file`
- 🧠 Laravel-specific assistant for routes, controllers, migrations, and more

---

📦 Installation
--------------

[](#-installation)

1. Require the package via Composer (after it's published to Packagist):

```
composer require martink/laravel-devcopilot
```

2. Publish the config file:

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

3. Set your OpenAI API key in .env:

```
OPENAI_API_KEY=your-api-key-here

```

💡 Usage
-------

[](#-usage)

Ask ChatGPT anything:

```
php artisan gpt:ask "Explain what the middleware 'auth' does in Laravel"

```

Include a file for deeper context:

```
php artisan gpt:ask "Explain this file" --file=routes/web.php

```

⚙️ Configuration
----------------

[](#️-configuration)

Published config file: config/devcopilot.php

```
return [
    'api_key' => env('OPENAI_API_KEY'),
];

```

---

🧪 Coming Soon
-------------

[](#-coming-soon)

Multiple file support

- Context profiles (review, generate, explain)
- Answer caching
- Chat history log

### 🧑‍💻 Author

[](#‍-author)

Made with ❤️ by Martin Karadzinov

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance49

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community7

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

Unknown

Total

1

Last Release

378d ago

### Community

Maintainers

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

---

Top Contributors

[![karadzinov](https://avatars.githubusercontent.com/u/7139106?v=4)](https://github.com/karadzinov "karadzinov (2 commits)")

---

Tags

laravelartisangptChatGpt

### Embed Badge

![Health badge](/badges/martink-laravel-devcopilot/health.svg)

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

###  Alternatives

[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[sbsaga/toon

🧠 TOON for Laravel — a compact, human-readable, and token-efficient data format for AI prompts &amp; LLM contexts. Perfect for ChatGPT, Gemini, Claude, Mistral, and OpenAI integrations (JSON ⇄ TOON).

6115.6k](/packages/sbsaga-toon)[claude-php/claude-php-sdk-laravel

Laravel integration for the Claude PHP SDK - Anthropic Claude API

5010.8k](/packages/claude-php-claude-php-sdk-laravel)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)[sunaoka/laravel-facade-generator

Provide command line generation of facade layer files.

171.9k](/packages/sunaoka-laravel-facade-generator)

PHPackages © 2026

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