PHPackages                             bjserranoweb/ollama-laravel-wizard - 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. bjserranoweb/ollama-laravel-wizard

ActiveLibrary[API Development](/categories/api)

bjserranoweb/ollama-laravel-wizard
==================================

Laravel package for Ollama AI integration.

00PHP

Since Dec 27Pushed 1y ago1 watchersCompare

[ Source](https://github.com/benjiserrano/ollama-laravel-wizard)[ Packagist](https://packagist.org/packages/bjserranoweb/ollama-laravel-wizard)[ RSS](/packages/bjserranoweb-ollama-laravel-wizard/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Ollama Laravel Wizard
=====================

[](#ollama-laravel-wizard)

**Ollama Laravel Wizard** is a Laravel package that integrates Ollama to automate queries and generate files using large language models (LLMs). Simplify repetitive tasks and boost your workflows with local AI capabilities.

---

Features
--------

[](#features)

- **Seamless Integration**: Easily connect Laravel with Ollama for local AI-powered automation.
- **Automated Queries**: Execute complex queries with ease.
- **File Generation**: Automatically create custom files based on your requirements.
- **Configurable**: Customize behavior through a simple configuration file.
- **Extensible**: Adapt the package to meet specific project needs.

---

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

[](#requirements)

- Laravel 9+
- PHP 8+
- [Ollama installed locally](https://ollama.com/)

---

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

[](#installation)

1. Install Ollama on your system. For example, on macOS, run:

    ```
    brew install ollama
    ```

    For other operating systems, follow the instructions on the [official Ollama website](https://ollama.com/).
2. Download a model to use with Ollama:

    ```
    ollama pull openchat
    ```
3. Install the package via Composer:

    ```
    composer require bjserranoweb/ollama-laravel-wizard
    ```
4. Publish the configuration file:

    ```
    php artisan vendor:publish --tag="ollama-laravel-config"
    ```

---

Usage
-----

[](#usage)

Here’s an example of how to use the Ollama Laravel Wizard:

```
use Cloudstudio\Ollama\Facades\Ollama;

// Example of generating a response
$response = Ollama::agent('You are an assistant that helps with coding tasks...')
    ->prompt('Generate a Laravel controller for user authentication')
    ->model('llama2')
    ->options(['temperature' => 0.7])
    ->stream(false)
    ->ask();

echo $response;
```

---

Configuration
-------------

[](#configuration)

The configuration file `config/ollama.php` allows you to set the default model, API settings, and other options.

Example configuration:

```
return [
    'model' => 'llama2',
    'api_url' => 'http://localhost:11434',
    'default_options' => [
        'temperature' => 0.7,
        'max_tokens' => 1000,
    ],
];
```

---

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

[](#contributing)

Contributions are welcome! Please submit a pull request or open an issue if you find a bug or have a feature request.

---

License
-------

[](#license)

This project is licensed under the [MIT License](LICENSE).

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity18

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/bjserranoweb-ollama-laravel-wizard/health.svg)

```
[![Health](https://phpackages.com/badges/bjserranoweb-ollama-laravel-wizard/health.svg)](https://phpackages.com/packages/bjserranoweb-ollama-laravel-wizard)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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