{"id":31235439,"url":"https://github.com/marceloxp/iartisan","last_synced_at":"2026-04-19T07:32:08.743Z","repository":{"id":315659930,"uuid":"1060331892","full_name":"marceloxp/iartisan","owner":"marceloxp","description":"Craft Artisan commands with AI-powered ease","archived":false,"fork":false,"pushed_at":"2025-09-19T21:37:11.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-20T00:09:06.450Z","etag":null,"topics":["artisan","artisan-command","filament","filamentphp","gemini-ai","ia","laravel"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marceloxp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-19T18:25:17.000Z","updated_at":"2025-09-19T22:07:13.000Z","dependencies_parsed_at":"2025-09-20T15:02:59.051Z","dependency_job_id":null,"html_url":"https://github.com/marceloxp/iartisan","commit_stats":null,"previous_names":["marceloxp/iartisan"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/marceloxp/iartisan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marceloxp%2Fiartisan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marceloxp%2Fiartisan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marceloxp%2Fiartisan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marceloxp%2Fiartisan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marceloxp","download_url":"https://codeload.github.com/marceloxp/iartisan/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marceloxp%2Fiartisan/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31998792,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artisan","artisan-command","filament","filamentphp","gemini-ai","ia","laravel"],"created_at":"2025-09-22T14:26:13.595Z","updated_at":"2026-04-19T07:32:08.738Z","avatar_url":"https://github.com/marceloxp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IArtisan\n\n\u003e Craft Artisan commands with AI-powered ease\n\n![screenshot](https://raw.githubusercontent.com/marceloxp/iartisan/refs/heads/main/images/illustration.png)\n\n![Packagist Version](https://img.shields.io/packagist/v/marceloxp/iartisan)\n![License](https://img.shields.io/github/license/marceloxp/iartisan)\n\nIArtisan is a command-line tool that uses the Google Gemini API to suggest `php artisan` commands for Laravel and Filament projects from natural language prompts.\n\n---\n\n## ✨ Features\n\n* **Natural language prompts**: Describe what you want in plain English and get the exact `php artisan` command.\n* **Smart version detection**: Automatically detects Laravel and Filament versions from your `composer.json`.\n* **Filament support**: Use `--f3`, `--f4`, `--f5` or `--f=X` to force a specific Filament version.\n* **Automatic execution**: If you're inside a Laravel project, you can confirm and run the command directly.\n* **Configurable AI model**: Change Gemini model via `config:set`.\n* **Clean and simple CLI**.\n\n---\n\n## 🚀 Installation\n\n1. **Install via Composer** (recommended globally):\n\n   ```bash\n   composer global require marceloxp/iartisan\n   ```\n\n2. **Set up your Gemini API key**:\n\n   ```bash\n   export GEMINI_API_KEY=your-api-key-here\n   ```\n\n   Or alternatively:\n\n   ```bash\n   export IARTISAN_GEMINI_KEY=your-api-key-here\n   ```\n\n3. **Verify installation**:\n\n   ```bash\n   iartisan --help\n   ```\n\n---\n\n## 🛠 Usage\n\n### Basic usage\n\n```bash\niartisan create a model Post with migration and controller\n```\n\n### Forcing Filament version\n\n```bash\niartisan --f5 make a filament resource for User\niartisan --f4 create a filament page for dashboard\niartisan --f6 make a filament widget     # future versions supported\n```\n\n### Inside a Laravel project (auto-detection)\n\nWhen a `composer.json` exists in the current directory, IArtisan automatically detects:\n- Laravel version\n- Filament version (if installed)\n\nYou can still override with `--fX` if needed.\n\n### Configuration\n\n```bash\n# Set custom Gemini model\niartisan config:set GEMINI_MODEL=gemini-2.5-flash\n\n# Clear configuration\niartisan config:clear gemini_model\n```\n\n---\n\n## 📚 Examples\n\n* **Basic Laravel**\n\n  ```bash\n  iartisan create a migration to add status column to users table\n  ```\n\n* **Filament 5**\n\n  ```bash\n  iartisan --f5 make a filament resource for Product\n  ```\n\n* **Run migrations**\n\n  ```bash\n  iartisan run all pending migrations\n  ```\n\n---\n\n## 📦 Requirements\n\n* PHP 8.1+\n* Composer\n* Google Gemini API key\n* (Optional) Laravel project for auto-detection and execution\n\n---\n\n## 🤝 Contributing\n\nContributions are welcome! Feel free to fork the repository and submit a pull request. Please follow PSR-12 coding standards.\n\n---\n\n## 📄 License\n\nMIT — see [LICENSE](LICENSE).\n\n---\n\n## 📬 Support\n\nFor issues or feature requests, please open an issue on the [GitHub repository](https://github.com/marceloxp/iartisan).\n\nFor questions, contact Marcelo at **[marceloxp@gmail.com](mailto:marceloxp@gmail.com)**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarceloxp%2Fiartisan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarceloxp%2Fiartisan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarceloxp%2Fiartisan/lists"}