<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Rahas Istiyak on Medium]]></title>
        <description><![CDATA[Stories by Rahas Istiyak on Medium]]></description>
        <link>https://medium.com/@rahasistiyak.official?source=rss-4df992651bb9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*jAM8Y91N302AP5w-</url>
            <title>Stories by Rahas Istiyak on Medium</title>
            <link>https://medium.com/@rahasistiyak.official?source=rss-4df992651bb9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 04:23:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rahasistiyak.official/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How I Reduced AI Coding Costs by Letting Laravel Generate the Boilerplate]]></title>
            <link>https://medium.com/@rahasistiyak.official/how-i-reduced-ai-coding-costs-by-letting-laravel-generate-the-boilerplate-487ee2ee8064?source=rss-4df992651bb9------2</link>
            <guid isPermaLink="false">https://medium.com/p/487ee2ee8064</guid>
            <category><![CDATA[productivity-hacks]]></category>
            <category><![CDATA[prompt-engineering]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[laravel]]></category>
            <dc:creator><![CDATA[Rahas Istiyak]]></dc:creator>
            <pubDate>Tue, 21 Jul 2026 13:31:17 GMT</pubDate>
            <atom:updated>2026-07-21T13:31:17.154Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong>Less prompting. More building.</strong></blockquote><blockquote>How changing my Laravel workflow significantly reduced AI token consumption while making development faster and more consistent.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HsQOAgoG1uI9oBT--crzqg.png" /></figure><p><strong>The AI Coding Revolution Is Amazing… But It Has a Hidden Cost</strong></p><p>AI coding assistants have fundamentally changed how I build Laravel applications.</p><p>Whether I’m using <strong>ChatGPT</strong>, <strong>Claude</strong>, Claude, <strong>GitHub Copilot</strong>, or <strong>Grok</strong>, I can now prototype features, debug complex issues, and even design application architecture much faster than before.</p><p>But after months of building real Laravel projects with AI, I noticed something interesting.</p><p>The AI wasn’t spending most of its intelligence solving difficult engineering problems.</p><p>Instead…</p><p>It was repeatedly generating the same boilerplate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dkvsFxu3Y1A9hzm45gAL1w.png" /></figure><p>Every new module started with prompts like:</p><p>* Create a Model<br>* Create a Controller<br>* Create Form Requests<br>* Create Repository<br>* Create Repository Interface<br>* Create Service<br>* Create Policy<br>* Create API Resource<br>* Create Tests<br>* Bind everything in Service Provider</p><p>Every.</p><p>Single.</p><p>Time.</p><p>The bigger the project became, the larger the prompts became.</p><p>And larger prompts meant:</p><p>* Higher token consumption<br>* Longer responses<br>* More context usage<br>* Increased costs<br>* More opportunities for inconsistencies</p><p>Eventually I realized something.</p><p><strong>I wasn’t paying AI to solve problems.</strong></p><p><strong>I was paying AI to generate folders and files.</strong></p><p><strong>Boilerplate Is Expensive</strong></p><p>People often think AI costs come from generating business logic.</p><p>In my experience…</p><p>That isn’t true.</p><p>A surprisingly large portion of every conversation is simply asking the AI to recreate project structure.</p><p>Imagine creating ten Laravel modules.</p><p>If every module requires prompting AI for Models, Controllers, Services, Policies, Requests, Resources, Tests, Providers, Interfaces, and architecture…</p><p>You’re spending thousands of tokens before writing a single business rule.</p><p>That’s incredibly inefficient.</p><p><strong>Laravel Already Knows How To Generate Code</strong></p><p>Laravel has always embraced code generation through Artisan.</p><p>We use commands like:</p><p>* make:model<br>* make:controller<br>* make:migration</p><p>They’re fantastic.</p><p>But modern Laravel projects have evolved.</p><p>Many teams now use:</p><p>* Repository Pattern<br>* Service Layer<br>* Domain Driven Design<br>* API Resources<br>* Form Requests<br>* Filament<br>* Livewire<br>* Vue<br>* React<br>* Feature Tests</p><p>Generating all of those manually — or asking AI to generate them repeatedly — doesn’t scale.</p><p><strong>That’s Why I Built Laravel Super Artisan</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FILDkDCqwQCfeebKZYoHVw.png" /></figure><p>Instead of asking AI to create project scaffolding over and over again…</p><p>I asked a different question.</p><blockquote>Why not let Laravel generate the structure automatically?</blockquote><p>That idea eventually became <strong>Laravel Super Artisan v2</strong>.</p><p>The goal wasn’t to replace AI.</p><p>The goal was to let AI focus on what humans actually need help with.</p><p>Architecture.</p><p>Business logic.</p><p>Optimization.</p><p>Complex algorithms.</p><p>Debugging.</p><p>Not boilerplate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sDjT94tESGGCkExNdmLi7A.png" /></figure><p><strong>My New AI Workflow</strong></p><p>Today my workflow looks completely different.</p><p>Instead of starting with a massive prompt describing the project structure…</p><p>I first generate the project foundation locally.</p><p>Everything is already organized.</p><p>Repositories.</p><p>Services.</p><p>Interfaces.</p><p>Policies.</p><p>Requests.</p><p>Resources.</p><p>Tests.</p><p>API structure.</p><p>Domain organization.</p><p>Workflow automation.</p><p>Blueprint-ready architecture.</p><p>Only then do I open my AI assistant.</p><p>Now my prompt becomes something like:</p><blockquote>“Implement payment validation.”</blockquote><p>instead of</p><blockquote>“Generate 40 files and then implement payment validation.”</blockquote><p>That difference changes everything.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qBEFXFcRnw9mNpdCfSPZvw.png" /></figure><p><strong>The Results</strong></p><p>After using this workflow across multiple Laravel projects, I measured a significant improvement.</p><p>Compared to my previous AI-first workflow:</p><p>✅ Average token consumption dropped by <strong>60%</strong></p><p>✅ Prompt sizes became dramatically smaller</p><p>✅ AI responses became more focused</p><p>✅ Development became faster</p><p>✅ Generated code became more consistent</p><p>Most importantly…</p><p>The AI spent its context window solving engineering problems instead of generating repetitive scaffolding.</p><p>I’ll be publishing more benchmark data as I continue testing across larger applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*htHV5HJr9v-qGuo_-FA6mQ.png" /></figure><p><strong>More Than Token Savings</strong></p><p>Reducing AI costs is only part of the story.</p><p>This workflow also improves developer experience.</p><p><strong>Faster onboarding</strong></p><p>Every project follows the same structure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mDp1WlovCMPqIeO-weVsrg.png" /></figure><p><strong>Better consistency</strong></p><p>No more asking AI to recreate architecture differently every week.</p><p><strong>Cleaner codebases</strong></p><p>Repositories.</p><p>Services.</p><p>Requests.</p><p>Policies.</p><p>Everything stays organized.</p><p><strong>Better AI responses</strong></p><p>Smaller prompts.</p><p>Cleaner context.</p><p>Better reasoning.</p><p>— -</p><p><strong>Better collaboration</strong></p><p>Developers and AI both work inside the same predictable architecture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tTX1pQQsuxhYzZFYcSY3XQ.png" /></figure><p><strong>Built For Modern Laravel</strong></p><p>Laravel Super Artisan v2 isn’t just another code generator.</p><p>It’s designed for modern Laravel teams.</p><p>It supports workflows built around:</p><p>* Repository Pattern<br>* Service Pattern<br>* Domain Driven Design<br>* API Development<br>* Filament<br>* Livewire<br>* Vue<br>* React<br>* Blueprint generation<br>* Workflow automation<br>* Custom stubs<br>* Bulk generation<br>* Dry Run mode<br>* Force overwrite</p><p>The goal is flexibility — not forcing developers into a single architecture.</p><p>— -</p><p><strong>The Future of AI Development</strong></p><p>I don’t think the future is asking AI to generate more code.</p><p>I think the future is asking AI to generate <strong>better code</strong>.</p><p>That starts by removing repetitive work.</p><p>The less time AI spends creating boilerplate…</p><p>the more time it spends solving real problems.</p><p>That’s where the real productivity gains come from.</p><p>— -</p><p><strong>Final Thoughts</strong></p><p>AI has become one of the most valuable tools in my development workflow.</p><p>But like any tool, its effectiveness depends on how we use it.</p><p>By letting Laravel generate repetitive scaffolding locally, I’ve been able to reduce token usage, improve consistency, and spend more time solving meaningful problems.</p><p>Laravel Super Artisan v2 is my attempt to make that workflow available to every Laravel developer.</p><p>If you’re building Laravel applications with AI, I’d love to hear how you’re approaching your workflow.</p><p>Maybe the next big productivity improvement isn’t a new AI model.</p><p>Maybe it’s simply giving AI less boilerplate to write.</p><p><strong>Resources</strong></p><p><strong>⭐ GitHub</strong></p><p><a href="https://github.com/rahasistiyakofficial/laravel-super-artisan">https://github.com/rahasistiyakofficial/laravel-super-artisan</a></p><p><strong>📦 Packagist</strong></p><p><a href="https://packagist.org/packages/rahasistiyak/laravel-super-artisan">https://packagist.org/packages/rahasistiyak/laravel-super-artisan</a></p><p><strong>📖 Laravel Super Artisan v2</strong></p><p><a href="https://medium.com/@rahasistiyak.official/laravel-super-artisan-v2-best-friend-for-ai-coding-agents-prompt-engineers-394ba29f5c00">https://medium.com/@rahasistiyak.official/laravel-super-artisan-v2-best-friend-for-ai-coding-agents-prompt-engineers-394ba29f5c00</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=487ee2ee8064" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Laravel Super Artisan v2 — Best Friend for AI Coding Agents & Prompt Engineers]]></title>
            <link>https://medium.com/@rahasistiyak.official/laravel-super-artisan-v2-best-friend-for-ai-coding-agents-prompt-engineers-394ba29f5c00?source=rss-4df992651bb9------2</link>
            <guid isPermaLink="false">https://medium.com/p/394ba29f5c00</guid>
            <category><![CDATA[php]]></category>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[prompt-engineering]]></category>
            <category><![CDATA[laravel-packages]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Rahas Istiyak]]></dc:creator>
            <pubDate>Tue, 21 Jul 2026 09:59:39 GMT</pubDate>
            <atom:updated>2026-07-21T13:36:59.165Z</atom:updated>
            <content:encoded><![CDATA[<p>Supercharge Laravel development with AI. Generate full stacks in one command, optimize token usage, and reduce prompt complexity dramatically.</p><p>In the age of AI coding assistants (Claude, Cursor, Grok, GitHub Copilot, etc.), the biggest bottleneck is <strong>prompt engineering</strong> and <strong>token consumption</strong>.</p><p><strong>Laravel Super Artisan v2</strong> solves both.</p><h3>Installation</h3><pre>composer require rahasistiyak/laravel-super-artisan</pre><p>It lets you generate complete, production-ready Laravel resource stacks with a single CLI command — freeing you from writing long, repetitive prompts and dramatically cutting token usage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/503/1*PzMGLKnPodNQCB--LwFZcA.png" /><figcaption><strong>What’s New in v2.0</strong></figcaption></figure><p><strong>Token Usage &amp; Prompt Engineering Benefits</strong></p><p>Instead of writing 800–2000+ token prompts like:</p><blockquote>“Create a Laravel model for Order with migration, a repository pattern with interface, API controller with resource, form requests for store and update, policy, and put everything under Shop domain…”</blockquote><p>You can simply run:</p><pre>php artisan make:super Order - pattern=repository - domain=Shop - api</pre><p><strong>Result:</strong><br>- Much shorter prompts focused only on <strong>business logic</strong><br>- More consistent code structure<br>- Lower token usage per feature<br>- Higher quality output from AI agents</p><p><strong>AI Coding Assistants Comparison</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EZuiFEOdhh_by5S4yMMJLg.png" /></figure><p><strong>Super Artisan v2 + AI</strong> wins for most real-world Laravel projects.</p><p><strong>Real-World Examples</strong></p><p>#### 1. AI-Optimized Full Stack</p><pre>php artisan make:super Order - pattern=repository - domain=Shop - api - dry-run</pre><p>Preview everything first, then let AI implement custom logic in the generated classes.</p><p><strong>2. Bulk + Blueprint (Perfect for Agents)</strong></p><p>Define a reusable blueprint once:</p><pre>&#39;blueprints&#39; =&gt; [<br> &#39;ai-feature&#39; =&gt; [<br> &#39;description&#39; =&gt; &#39;AI-ready full feature stack&#39;,<br> &#39;commands&#39; =&gt; [<br> &#39;make:super {name} - pattern=repository&#39;,<br> &#39;make:super-request Store{name}Request&#39;,<br> &#39;make:super-request Update{name}Request&#39;,<br> &#39;make:super-policy {name}Policy&#39;,<br> ],<br> ],<br>],</pre><p>Then:</p><pre>php artisan make:super Invoice - blueprint=ai-feature</pre><p><strong>3. Workflows</strong></p><pre>php artisan run:workflow deploy<br>php artisan run:workflow test-and-deploy - stop-on-failure</pre><p><strong>Installation</strong></p><pre>composer require rahasistiyak/laravel-super-artisan<br>php artisan vendor:publish - tag=super-artisan-config<br>php artisan vendor:publish - tag=super-artisan-stubs</pre><p><strong>Who Should Use It?</strong></p><p>- Developers using AI coding assistants daily<br>- Teams wanting consistent architecture<br>- Anyone tired of repetitive boilerplate<br>- Prompt engineers who want to maximize AI efficiency</p><p>By combining <strong>Super Artisan v2</strong> with your favorite AI coding tool, you get the best of both worlds: <strong>AI creativity + deterministic, high-quality scaffolding</strong>.</p><p>Links</p><p>- GitHub: <a href="https://github.com/rahasistiyakofficial/laravel-super-artisan">https://github.com/rahasistiyakofficial/laravel-super-artisan</a><br>- Try it today and experience the difference in your AI-assisted workflow!</p><p><strong>About the Author</strong><br><a href="https://linkedin.com/in/rahas.istiyak">Rahas Istiyak</a> — Laravel Developer &amp; Open Source Enthusiast from Bangladesh.</p><p>— -</p><p>This version strongly emphasizes <strong>AI agents</strong>, <strong>prompt engineering</strong>, <strong>token optimization</strong>, and includes a clear comparison table. It positions your package as a must-have companion for modern AI-powered Laravel development.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=394ba29f5c00" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[laravel-super-artisan: Streamline Your Laravel Development]]></title>
            <link>https://medium.com/@rahasistiyak.official/laravel-super-artisan-streamline-your-laravel-development-a38979d318d1?source=rss-4df992651bb9------2</link>
            <guid isPermaLink="false">https://medium.com/p/a38979d318d1</guid>
            <category><![CDATA[php]]></category>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[rahas-istiyak]]></category>
            <category><![CDATA[superartisan]]></category>
            <category><![CDATA[composer]]></category>
            <dc:creator><![CDATA[Rahas Istiyak]]></dc:creator>
            <pubDate>Tue, 26 Aug 2025 12:46:59 GMT</pubDate>
            <atom:updated>2025-08-26T12:58:05.594Z</atom:updated>
            <content:encoded><![CDATA[<p>Laravel developers often spend hours running repetitive artisan commands and generating boilerplate code. laravel-super-artisan is a lightweight Laravel package designed to simplify these tasks, improve productivity, and streamline workflow for both small and large Laravel projects.</p><h3>What is laravel-super-artisan?</h3><p>laravel-super-artisan extends Laravel’s native Artisan CLI, allowing developers to generate files, scaffolds, and boilerplate code faster. It is compatible with Laravel 11 and 12 and requires PHP 8.0 or higher. The package also supports testing using orchestra/testbench and phpunit/phpunit. Version 1.0.0 was released on June 26, 2025.</p><h3>Why laravel-super-artisan is useful</h3><p>Many Laravel projects involve repetitive tasks such as creating controllers, models, migrations, and views. laravel-super-artisan helps by providing:</p><ul><li>Faster scaffolding of controllers, models, migrations, and services</li><li>Customizable commands for project-specific workflows</li><li>Consistency across multiple Laravel projects</li><li>Reduced manual effort, letting developers focus on building features</li></ul><p>For developers managing multiple projects or complex applications, this package can save significant time and effort.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L5SynymSV1VYz_qfa8-RHQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7ZeGYfxtHKAqX-4U5zb9-g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/894/1*pIUgic-xLAdP4rG4Vqh5Aw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0V4dfCZyMOd8Mh5-e46Wqg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AKzbVk3ttXuGMBOTv3mDEA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*SLI_nvGHEmGLY3VxkHx99g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M5hIn4DaSuWrp6mH5HDz9g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ws9YWvRpIJtOWNpsFL9WoQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ca-_82XD9ZVAbHEdvujBWg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xLoxiLdcBUcEJl6mqM5vJg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OH9eDIxpYhkuRz7cHiv0oQ.png" /></figure><h3>One Command to Generate Everything</h3><p>One of the most powerful features of laravel-super-artisan is the ability to generate multiple components with a single command. For example, you can create a <strong>model, controller, migration, blade/Vue/Livewire view</strong>, and more all at once:</p><pre>php artisan super:make Post --model --controller --migration --blade --vue --livewire</pre><p>This command will generate:</p><ul><li>A Post model with the correct namespace</li><li>A resourceful controller for handling CRUD operations</li><li>A migration file for database schema</li><li>Blade templates for views, or Vue/Livewire components if you prefer</li><li>Proper directory structure automatically created</li></ul><p>This saves hours of repetitive work and ensures your project structure is consistent and ready for development.</p><h3>How to install laravel-super-artisan</h3><p>Installing laravel-super-artisan is quick and straightforward:</p><ol><li>Add the package via Composer:</li></ol><pre>composer require rahasistiyak/laravel-super-artisan</pre><ol><li>Laravel may auto-discover the <a href="https://packagist.org/packages/rahasistiyak/laravel-super-artisan">package</a>. If not, register the service provider manually.</li><li>Follow the documentation on <a href="https://github.com/rahasistiyakofficial/laravel-super-artisan">GitHub</a> or Packagist for usage examples and additional instructions.</li></ol><h3>Key features</h3><ul><li>Optimized for Laravel 11 and 12</li><li>Requires PHP 8.0 or higher</li><li>Supports unit testing with phpunit/phpunit</li><li>Streamlined file generation and workflow automation</li><li>Generate multiple components in one command (model, controller, migration, blade/Vue/Livewire)</li><li>Designed for developer productivity and efficiency</li></ul><h3>About the author</h3><p>Rahas Istiyak is a Software Engineer from Bangladesh with expertise in Laravel, composer packages, and full-stack web development. He creates tools that improve workflow efficiency and simplify common development tasks. Rahas is also active in the open-source community, sharing knowledge and mentoring other developers.</p><p>Contact email: <a href="/service/mailto:rahasistiyak.offical@gmail.com">rahasistiyak.offical@gmail.com</a></p><h3>Conclusion</h3><p>laravel-super-artisan is a valuable package for Laravel developers looking to improve productivity, automate repetitive tasks, and maintain consistent, clean code. Its ability to generate models, controllers, migrations, and views in a single command makes it especially useful for developers working on multiple projects or complex applications.</p><p>Check out the package on Packagist and explore the source code to get started.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a38979d318d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>