PHPackages                             elsayed85/laravel-github-copilot-chat - 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. elsayed85/laravel-github-copilot-chat

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

elsayed85/laravel-github-copilot-chat
=====================================

A Laravel package to add a chatbot powered by GitHub Copilot to your Laravel application.

v0.0.3(2y ago)2151[2 PRs](https://github.com/elsayed85/laravel-github-copilot-chat/pulls)MITPHPPHP ^8.1

Since Aug 21Pushed 2y ago1 watchersCompare

[ Source](https://github.com/elsayed85/laravel-github-copilot-chat)[ Packagist](https://packagist.org/packages/elsayed85/laravel-github-copilot-chat)[ Docs](https://github.com/elsayed85/laravel-github-copilot-chat)[ RSS](/packages/elsayed85-laravel-github-copilot-chat/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (16)Versions (6)Used By (0)

This is my package laravel-github-copilot-chat
==============================================

[](#this-is-my-package-laravel-github-copilot-chat)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c5e707415d986a2103bfe993ad1c6214a6561e4cef188602cdbc323d4b77bda8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656c736179656438352f6c61726176656c2d6769746875622d636f70696c6f742d636861742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/elsayed85/laravel-github-copilot-chat)[![GitHub Tests Action Status](https://camo.githubusercontent.com/a9eb07b329c2811651f3b71268ab93d6d9847eec1117e80d47e093e8e33a54c6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f656c736179656438352f6c61726176656c2d6769746875622d636f70696c6f742d636861742f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/elsayed85/laravel-github-copilot-chat/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/fe675a7e0a54c8c2f5f8dee28514f4788971d2f3fe277fa1c8bec26819a204bf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f656c736179656438352f6c61726176656c2d6769746875622d636f70696c6f742d636861742f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/elsayed85/laravel-github-copilot-chat/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/36e037b39ad03b453fc66717b5de19df89bb414973dd82b146777427e798dbd3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656c736179656438352f6c61726176656c2d6769746875622d636f70696c6f742d636861742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/elsayed85/laravel-github-copilot-chat)

Chat With Github Copilot inside Command Line using Laravel.

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

[](#installation)

You can install the package via composer:

```
composer require elsayed85/laravel-github-copilot-chat
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-github-copilot-chat-config"
```

This is the contents of the published config file:

```
return [
    'stream' => true,
    'intent' => false,
    'model' => 'copilot-chat',
    'temperature' => 0.1,
    'top_p' => 1,
    'n' => 1,

    'client_id' => '01ab8ac9400c4e429b23', // Don't change this
    'user_agent' => 'GithubCopilot/3.99.99', // Don't change this
];
```

Usage
-----

[](#usage)

[Github Copilot Chat](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat)
----------------------------------------------------------------------------------------------

[](#github-copilot-chat)

Run :

```
php artisan copilot:chat
```

for First Time You need to login to your github account and copy the code from the terminal and auth with github

```
Got To https://github.com/login/device/ and enter the code: B720-C162
```

then after auth you need to confirm that

```
    ┌ Do you entered the code successfully? ───────────────────────┐
        Yes / No
    └──────────────────────────────────────────────────────────────┘
```

Github Copilot CLI
------------------

[](#github-copilot-cli)

### [NodeJs Package](https://www.npmjs.com/package/@githubnext/github-copilot-cli)

[](#nodejs-package)

To use github-copilot-cli

A CLI experience for letting GitHub Copilot help you on the command line.

GitHub Copilot CLI translates natural language into shell commands, with modes for different domains. After installation, you can use the following three command:

```
use Elsayed85\CopilotChat\CopilotCli;

$cli = new CopilotCli();
$q = "install laravel";
$cli = $cli->init();
$cli->setQuestion($q);
$a = $cli->shell(); // you can use shell() or git() or gitCli()
// call explanation() after shell() or git() or gitCli() to get explanation of the generated cli command
$explanation = $cli->explanation();
dd($a , $explanation);
```

Then We Will Generate Copilot Token and it will be saved locally using cache for (30 min) and when it expired another token will be generated automatically.

and Now You can Chat With Github copilot Have Fun :)

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

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)

- [elsayed kamal](https://github.com/elsayed85)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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

3

Last Release

1001d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9f6465ef2e90074d5a323bf893bb1ab9a7b5af7bf61d1001f85a8448d8fb257d?d=identicon)[elsayed851999](/maintainers/elsayed851999)

---

Top Contributors

[![elsayed85](https://avatars.githubusercontent.com/u/41492621?v=4)](https://github.com/elsayed85 "elsayed85 (12 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

laravelgithubbotchatcopilotelsayed85

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/elsayed85-laravel-github-copilot-chat/health.svg)

```
[![Health](https://phpackages.com/badges/elsayed85-laravel-github-copilot-chat/health.svg)](https://phpackages.com/packages/elsayed85-laravel-github-copilot-chat)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[nativephp/mobile

NativePHP for Mobile

82724.0k43](/packages/nativephp-mobile)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[maestroerror/laragent

Power of AI Agents in your Laravel project

630106.4k](/packages/maestroerror-laragent)[nativephp/desktop

NativePHP for Desktop

34020.6k3](/packages/nativephp-desktop)[spatie/laravel-rdap

Perform RDAP queries in a Laravel app

72108.3k2](/packages/spatie-laravel-rdap)

PHPackages © 2026

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