PHPackages                             pacificdev/gemini-ai-terminal-assistant-for-laravel - 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. pacificdev/gemini-ai-terminal-assistant-for-laravel

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

pacificdev/gemini-ai-terminal-assistant-for-laravel
===================================================

Get help from your terminal

v0.3.5(1y ago)114MITPHPPHP ^8.2 || ^8.3

Since May 27Pushed 1y agoCompare

[ Source](https://github.com/fabiopacificicom/gemini-ai-artisan-for-laravel)[ Packagist](https://packagist.org/packages/pacificdev/gemini-ai-terminal-assistant-for-laravel)[ RSS](/packages/pacificdev-gemini-ai-terminal-assistant-for-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (8)Used By (0)

Gemini AI Artisan for Laravel 11
================================

[](#gemini-ai-artisan-for-laravel-11)

Use AI to ask support about your laravel application without leaving the command line.

This is what happens when you ask a question about your app using the `pacificdev:ask` command:

- the selected LLM is provided with context from your laravel application,
- the database structure is provided to the model
- application details as show by the about command are provided as context
- the laravel.log file is proivided as context by default ( limited to 50000 characters )
- a specific table structure can be provided when using `--table=table_name`

Requirements
------------

[](#requirements)

To use this package you need to:

- install laravel (any version from 9.x and up)
- add db credentials to your .env file
- insert in the .env file the GeminiPro AI API KEY [read more](https://ai.google.dev/gemini-api/docs/api-key)

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

[](#installation)

```
composer create-project laravel/laravel example-app
# After the db is connected, install the package by running
composer require pacificdev/terminal-assistant
```

### Google API for Gemini AI

[](#google-api-for-gemini-ai)

Once you generated your api key from the google console, add this two lines to your .env file

```
TERMINAL_ASSISTANT_TOKEN=your_api_key_here
TERMINAL_ASSISTANT_ENDPOINT=https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent
```

> replace your\_api\_key\_here with the api key you generated in the google console

Usage
-----

[](#usage)

After the installation is successful you can run the command below to send your question to the assistant.

```
php artisan pacificdev:ask
```

This package is intended to offer a single shot question/answer not a chat experience. Its purpose is not to develop your application but support you while you do so.

**Available options**:

1. --table: provide a name of a table, the table structure context will be provided to Gemini to better support.
2. --model: this is set to gemini by default for now
3. --logs: The default yes, set to no to ignore your log file. (log file max 5000 characters)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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

Total

7

Last Release

715d ago

PHP version history (2 changes)v0.1.0PHP ^8.0 || ^8.1

v0.3.3PHP ^8.2 || ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/47fa4d40bc4e0ec4f70aa3d3b35cd51ee1b2f8c7d9dcdb4d3cdd67dd9fc15beb?d=identicon)[fabiopacifici](/maintainers/fabiopacifici)

---

Top Contributors

[![fabiopacifici](https://avatars.githubusercontent.com/u/72492598?v=4)](https://github.com/fabiopacifici "fabiopacifici (16 commits)")

### Embed Badge

![Health badge](/badges/pacificdev-gemini-ai-terminal-assistant-for-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/pacificdev-gemini-ai-terminal-assistant-for-laravel/health.svg)](https://phpackages.com/packages/pacificdev-gemini-ai-terminal-assistant-for-laravel)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

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