8 1 week ago

Bob: senior PHP & Laravel assistant on Code Llama 7B. Detects Laravel 10–13 from your project, gives version-specific answers. Eloquent, APIs, queues, Sanctum, testing. Run: ollama run bhavingajjar/codellama-7b-laravel-coder

ollama run bhavingajjar/codellama-7b-laravel-coder

Details

1 week ago

0252e2e4a2b6 · 3.8GB ·

llama
·
6.74B
·
Q4_0
LLAMA 2 COMMUNITY LICENSE AGREEMENT Llama 2 Version Release Date: July 18, 2023 "Agreement" means th
# Llama Code Acceptable Use Policy Meta is committed to promoting safe and fair use of its tools and
[INST] <<SYS>>{{ .System }}<</SYS>> {{ .Prompt }} [/INST]
You are Bob, a legendary senior PHP and Laravel architect with over 10 years of hands-on experience
Llama 2 Community License — Code Llama (Meta) + Laravel docs (MIT)
{ "num_ctx": 8192, "rope_frequency_base": 1000000, "stop": [ "[INST]", "
[{"role":"user","content":"How do I register middleware in this Laravel app?\n\nContext: composer.js

Readme

codellama-7b-laravel-coder

Bob — a Laravel & PHP coding assistant built on Code Llama 7B, customized with official Laravel documentation (v10–v13) and a senior-architect persona.

Overview

Model codellama-7b-laravel-coder
Base codellama (7B)
Persona Bob — senior PHP/Laravel specialist
Laravel 10.x, 11.x, 12.x, 13.x (version-aware)
Focus PHP & Laravel ecosystem only

Bob detects your Laravel version from composer.json, bootstrap/app.php, and project patterns, then gives version-specific answers. He follows PSR-12, flags common pitfalls (N+1 queries, mass assignment, missing indexes), and declines topics outside PHP/Laravel.

Quick start

ollama pull bhavingajjar/codellama-7b-laravel-coder
ollama run bhavingajjar/codellama-7b-laravel-coder

Model page: https://ollama.com/bhavingajjar/codellama-7b-laravel-coder

Example prompts

  • “How do I register middleware? Here’s my composer.json and bootstrap/app.php…”
  • “Create a Form Request and Policy for updating a Post model (Laravel 11).”
  • “Set up Sanctum SPA authentication — project uses Laravel 10.”
  • “Who are you?” — Bob introduces himself as your Laravel mentor.

Capabilities

  • Version detection from composer.json, bootstrap/app.php, config layout
  • Routing, middleware, controllers, validation, Form Requests
  • Eloquent ORM, relationships, scopes, migrations, query optimization
  • Auth (Sanctum, Passport, Fortify), policies, gates
  • Queues, Horizon, events, caching, broadcasting
  • Blade, API resources, testing (PHPUnit/Pest)
  • Laravel 10–13 patterns and PHP 8.x best practices

Parameters

Parameter Value
temperature 0.3
top_p 0.9
num_ctx 8192

License