<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Naif Alshaye</title>
    <description>The latest articles on DEV Community by Naif Alshaye (@naifalshaye).</description>
    <link>https://dev.to/naifalshaye</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F152963%2F978d5e98-c71a-4f3f-8c85-72ab8c3b25b8.jpg</url>
      <title>DEV Community: Naif Alshaye</title>
      <link>https://dev.to/naifalshaye</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/naifalshaye"/>
    <language>en</language>
    <item>
      <title>Toggle Switch Field for Nova 4</title>
      <dc:creator>Naif Alshaye</dc:creator>
      <pubDate>Thu, 13 Jul 2023 13:47:11 +0000</pubDate>
      <link>https://dev.to/naifalshaye/toggle-switch-field-for-nova-4-ak4</link>
      <guid>https://dev.to/naifalshaye/toggle-switch-field-for-nova-4-ak4</guid>
      <description>&lt;h3&gt;
  
  
  Toggle Switch Field for Nova 4
&lt;/h3&gt;

&lt;h5&gt;
  
  
  * Toggle Switch Field for Nova 3 go to
&lt;/h5&gt;

&lt;p&gt;&lt;a href="https://github.com/naifalshaye/toggle-switch"&gt;https://github.com/naifalshaye/toggle-switch&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Requirements
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;PHP 8.0 or higher&lt;/li&gt;
&lt;li&gt;Nova 4&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Installation
&lt;/h2&gt;

&lt;p&gt;You can install the package into a Laravel app that uses Nova via composer:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;composer require naif/toggle-switch-field
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Usage
&lt;/h2&gt;

&lt;p&gt;Table column migration&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$table-&amp;gt;boolean('toggle')-&amp;gt;nullable()-&amp;gt;default(true);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Add the field to Nova Resource&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  public function tools()
    {
    # You can set the toggle switch color by color code.
        return [
            new ToggleSwitchField::make('toggle')-&amp;gt;color('#3AB95A'),
        ];
    }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Screenshots
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ON6i-u9v--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tka52h3buavag0zv3zs9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ON6i-u9v--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tka52h3buavag0zv3zs9.png" alt="Image description" width="368" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--z3XB9dy3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sh6neu6ljc07y1jx0djt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--z3XB9dy3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sh6neu6ljc07y1jx0djt.png" alt="Image description" width="800" height="165"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--nQrXMG2R--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0vd20qm3jggsl1isx9k6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--nQrXMG2R--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0vd20qm3jggsl1isx9k6.png" alt="Image description" width="800" height="164"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--UQhYzcQV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f19m0e1brox2zdb4mbyk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--UQhYzcQV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f19m0e1brox2zdb4mbyk.png" alt="Image description" width="258" height="144"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--1-CZV5VH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w5547m6nrfxa16cse0x4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1-CZV5VH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w5547m6nrfxa16cse0x4.png" alt="Image description" width="260" height="144"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--AM3cS5Vd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3ul12pi6lfxvhf5i211j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--AM3cS5Vd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3ul12pi6lfxvhf5i211j.png" alt="Image description" width="238" height="148"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--P4OSGqtP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/klwvvqbvwtt4wl0pspyj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--P4OSGqtP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/klwvvqbvwtt4wl0pspyj.png" alt="Image description" width="256" height="146"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--k3m4h3JV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cw8054us7yym4cvtenqg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--k3m4h3JV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cw8054us7yym4cvtenqg.png" alt="Image description" width="252" height="550"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--L0pIZjH_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ir91piy4fch46ts9gw96.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--L0pIZjH_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ir91piy4fch46ts9gw96.png" alt="Image description" width="252" height="534"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--UOGEELgP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2tn395cwyyicustdkts2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--UOGEELgP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2tn395cwyyicustdkts2.png" alt="Image description" width="168" height="170"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ma6ZEuWy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d4gboqmab7xaxqegxfu7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ma6ZEuWy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d4gboqmab7xaxqegxfu7.png" alt="Image description" width="156" height="160"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--2zQNkgZ7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nfw1uhm0vry5d9qbi6n4.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2zQNkgZ7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nfw1uhm0vry5d9qbi6n4.jpg" alt="Image description" width="192" height="160"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_9i9P9BQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oucuwvs5c1fodamna0pr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_9i9P9BQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oucuwvs5c1fodamna0pr.png" alt="Image description" width="192" height="166"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Support:
&lt;/h2&gt;

&lt;p&gt;&lt;a href="mailto:naif@naif.io"&gt;naif@naif.io&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://naif.io"&gt;https://naif.io&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Bug Tracker:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/naifalshaye/chatgpt-nova4/issues"&gt;https://github.com/naifalshaye/chatgpt-nova4/issues&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  License
&lt;/h2&gt;

&lt;p&gt;The MIT License (MIT). Please see &lt;a href="//LICENSE.md"&gt;License File&lt;/a&gt; for more information.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Introducing the ChatGPT Seeder a Laravel Nova 4 Custom Tool Package for Effortless Database Seeding</title>
      <dc:creator>Naif Alshaye</dc:creator>
      <pubDate>Fri, 30 Jun 2023 04:21:49 +0000</pubDate>
      <link>https://dev.to/naifalshaye/introducing-the-laravel-nova-custom-tool-package-for-effortless-database-seeding-5gd7</link>
      <guid>https://dev.to/naifalshaye/introducing-the-laravel-nova-custom-tool-package-for-effortless-database-seeding-5gd7</guid>
      <description>&lt;p&gt;Say goodbye to manual database seeding with the new Laravel Nova Custom Tool Package. This powerful tool leverages ChatGPT to automate the generation of realistic and meaningful data for your Laravel applications.&lt;/p&gt;

&lt;p&gt;Seeding your database has never been easier. With the Laravel Nova Custom Tool Package, you can generate data in just a few clicks. Whether you need real or fake data, this tool has got you covered.&lt;/p&gt;

&lt;p&gt;Integrating and configuring the package is a breeze. Simply install it via Composer, set your OpenAI API Key, and customize the tool to your specific requirements using the provided configuration file.&lt;/p&gt;

&lt;p&gt;The tool seamlessly integrates into your Laravel Nova dashboard, providing a user-friendly interface. Specify the data type, table name, number of records needed, and column names. The tool intelligently handles nullable and not nullable columns, streamlining the data selection process.&lt;/p&gt;

&lt;p&gt;Before inserting the generated data, visualize and validate it within the tool. Ensure the accuracy and quality of the data before it enters your database.&lt;/p&gt;

&lt;p&gt;The Laravel Nova Custom Tool Package is open-source, released under the MIT License. We welcome community contributions to make this tool even better. Join us on GitHub to contribute, submit feedback, and collaborate with Laravel developers worldwide.&lt;/p&gt;

&lt;p&gt;Supercharge your database seeding process today! Visit our GitHub repository for installation instructions and take advantage of the simplicity and efficiency this tool brings to your Laravel projects.&lt;/p&gt;

&lt;p&gt;Happy seeding!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/naifalshaye/chatgpt-seeder"&gt;https://github.com/naifalshaye/chatgpt-seeder&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>ChatCMD: The AI-Powered CLI Command Lookup Tool</title>
      <dc:creator>Naif Alshaye</dc:creator>
      <pubDate>Mon, 29 May 2023 13:28:11 +0000</pubDate>
      <link>https://dev.to/naifalshaye/chatcmd-the-ai-powered-cli-command-lookup-tool-2m4n</link>
      <guid>https://dev.to/naifalshaye/chatcmd-the-ai-powered-cli-command-lookup-tool-2m4n</guid>
      <description>&lt;p&gt;&lt;strong&gt;ChatCMD&lt;/strong&gt; is an open source AI-driven CLI-based command lookup using &lt;strong&gt;ChatGPT&lt;/strong&gt; to lookup relevant CLI commands based on user input.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Boost Your Productivity, Say Goodbye to Manual Searches.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Are you tired of wasting precious time searching for the perfect CLI command? Say goodbye to frustration and hello to ChatCMD! As a programmer, developer, software engineer, system admin, or network specialist, your command-line workflow is about to get a major boost with ChatCMD. This AI-powered command lookup tool streamlines your process and maximizes productivity.&lt;/p&gt;

&lt;p&gt;Unleash the Power of AI:&lt;br&gt;
Harnessing the advanced capabilities of ChatGPT, ChatCMD empowers you with intelligent command suggestions. No more sifting through documentation or struggling with complex syntax. Simply input your prompts, and ChatCMD instantly delivers relevant CLI commands. Say hello to saved time and effort, thanks to the AI advantage.&lt;/p&gt;

&lt;p&gt;Effortless Efficiency:&lt;br&gt;
ChatCMD revolutionizes your command-line workflow, making it effortless to find and execute the commands you need. Its intuitive interface allows you to enter prompts naturally, just like having a conversation. Watch as ChatCMD suggests the perfect commands based on your input. And with the automatic copy-to-clipboard feature, no more manual copying and pasting. It's seamless efficiency at its finest.&lt;/p&gt;

&lt;p&gt;Global Command Access:&lt;br&gt;
Experience the freedom of global command access with ChatCMD. Whether you're working in different directories or switching tasks, ChatCMD ensures you can access and lookup commands from anywhere within your CLI. No more tedious searches or digging through extensive documentation. ChatCMD puts the right commands at your fingertips, wherever you are.&lt;/p&gt;

&lt;p&gt;Tested and Reliable:&lt;br&gt;
Rest assured with ChatCMD's extensive testing on popular platforms like Ubuntu, Windows Server, and macOS. It has undergone rigorous compatibility checks to deliver a reliable and consistent experience across systems. Trust in its performance and focus on your work without any worries.&lt;/p&gt;

&lt;p&gt;Getting Started Is a Breeze:&lt;br&gt;
Ready to supercharge your command-line experience? Installing ChatCMD is as simple as running a quick pip command. Within minutes, you'll unlock a range of command-line options that empower you to customize your CLI interactions. Set or update your ChatGPT API key, view your command history, delete commands, and more. Take full control of your command-line journey with ChatCMD.&lt;/p&gt;

&lt;p&gt;Elevate Your Command-Line Experience:&lt;br&gt;
Bid farewell to manual searches and inefficiencies, and welcome a new era of command-line productivity. Download ChatCMD today and unlock the game-changing power of AI-driven command lookup. Share your thoughts, experiences, and join the vibrant ChatCMD community. Together, we're shaping the future of command-line excellence.&lt;/p&gt;

&lt;p&gt;Share your thoughts:&lt;br&gt;
Have you tried ChatCMD yet? We'd love to hear about your experiences and how it has transformed your command-line workflow. Join the discussion in the comments below and let's optimize our productivity together!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/naifalshaye/chatcmd"&gt;https://github.com/naifalshaye/chatcmd&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>cli</category>
      <category>opensource</category>
      <category>linux</category>
    </item>
    <item>
      <title>Laravel GUI</title>
      <dc:creator>Naif Alshaye</dc:creator>
      <pubDate>Thu, 04 Apr 2019 21:00:54 +0000</pubDate>
      <link>https://dev.to/naifalshaye/laravel-gui-509p</link>
      <guid>https://dev.to/naifalshaye/laravel-gui-509p</guid>
      <description>&lt;p&gt;&lt;a href="http://laravel-gui.io/"&gt;Download Now!&lt;/a&gt;&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>composer</category>
      <category>npm</category>
    </item>
  </channel>
</rss>
