<?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: Abdelmjid Saber</title>
    <description>The latest articles on DEV Community by Abdelmjid Saber (@megoxv).</description>
    <link>https://dev.to/megoxv</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1523438%2F55cf826d-0230-4e01-a567-02f7baf5d4f7.jpeg</url>
      <title>DEV Community: Abdelmjid Saber</title>
      <link>https://dev.to/megoxv</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/megoxv"/>
    <language>en</language>
    <item>
      <title>LaraOwl -The Open-Source, Self-Hosted Monitoring Platform for Laravel</title>
      <dc:creator>Abdelmjid Saber</dc:creator>
      <pubDate>Wed, 17 Jun 2026 11:11:36 +0000</pubDate>
      <link>https://dev.to/megoxv/laraowl-the-open-source-self-hosted-monitoring-platform-for-laravel-10ei</link>
      <guid>https://dev.to/megoxv/laraowl-the-open-source-self-hosted-monitoring-platform-for-laravel-10ei</guid>
      <description>&lt;p&gt;If you are a Laravel developer, you know how crucial it is to monitor your production applications. However, most commercial application performance monitoring tools can quickly become expensive, and sending sensitive telemetry data to third-party servers might not align with your privacy requirements.&lt;/p&gt;

&lt;p&gt;That is why I created &lt;strong&gt;LaraOwl&lt;/strong&gt;—an open-source, self-hosted monitoring platform designed specifically for Laravel. Think of it as your own private APM suite.&lt;/p&gt;




&lt;h2&gt;
  
  
  What is LaraOwl? 🦉
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;LaraOwl&lt;/strong&gt; is a self-hosted monitoring server that collects telemetry from all your Laravel apps. Instead of paying for a hosted service, you deploy the LaraOwl server on your own infrastructure (such as Laravel Cloud or VPS) and pull in a lightweight client package on the apps you want to monitor.&lt;/p&gt;

&lt;p&gt;LaraOwl is licensed under &lt;strong&gt;Apache 2.0&lt;/strong&gt;, making it 100% open-source and free to customize.&lt;/p&gt;




&lt;h2&gt;
  
  
  Key Features
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Deep Telemetry &amp;amp; Performance Monitoring
&lt;/h3&gt;

&lt;p&gt;Once you install the &lt;code&gt;laraowl/client&lt;/code&gt; package, LaraOwl hooks into the request lifecycle to automatically record:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;HTTP Requests:&lt;/strong&gt; Method, path, status codes, request duration, and response sizes.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Exceptions &amp;amp; Errors:&lt;/strong&gt; Automatically grouped with full stack traces, making it easy to track and mark them as resolved.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Database Queries:&lt;/strong&gt; Built-in slow query detection and &lt;strong&gt;N+1 query identification&lt;/strong&gt; to help optimize database performance.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Jobs &amp;amp; Queue Activity:&lt;/strong&gt; Processing status, duration, and job failures.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;User Tracking:&lt;/strong&gt; Request history and activity aggregated per-user.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Note: Telemetry is sent asynchronously via Laravel's queue system, keeping it completely off your requests' critical path.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Built-in WAF Analysis &amp;amp; Cloudflare Integration
&lt;/h3&gt;

&lt;p&gt;LaraOwl does more than track performance. It inspects incoming traffic for common security threats, flagging SQL injection (SQLi), cross-site scripting (XSS), and path traversal attempts. &lt;/p&gt;

&lt;p&gt;Additionally, it integrates directly with the &lt;strong&gt;Cloudflare API&lt;/strong&gt;, allowing you to block malicious IPs and manage firewall rules right from the LaraOwl dashboard.&lt;/p&gt;

&lt;h3&gt;
  
  
  Real-Time Dashboard &amp;amp; Multi-Channel Alerts
&lt;/h3&gt;

&lt;p&gt;The dashboard is powered by WebSockets via &lt;strong&gt;Laravel Reverb&lt;/strong&gt;, showing charts and logs updating live as requests and exceptions hit your application. &lt;/p&gt;

&lt;p&gt;When something goes wrong, LaraOwl supports uptime &amp;amp; heartbeat monitors and can immediately notify you through:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Slack&lt;/li&gt;
&lt;li&gt;  Discord&lt;/li&gt;
&lt;li&gt;  Telegram&lt;/li&gt;
&lt;li&gt;  Email&lt;/li&gt;
&lt;li&gt;  Custom Webhooks&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Getting Started in 5 Minutes``
&lt;/h2&gt;

&lt;p&gt;Setting up LaraOwl is extremely straightforward.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Setup the LaraOwl Server
&lt;/h3&gt;

&lt;p&gt;The server is a standard Laravel application. Create the project using Composer, configure your &lt;code&gt;.env&lt;/code&gt;, and compile the assets:&lt;/p&gt;

&lt;p&gt;`&lt;code&gt;&lt;/code&gt;bash&lt;/p&gt;

&lt;h1&gt;
  
  
  Create the project
&lt;/h1&gt;

&lt;p&gt;composer create-project laraowl/laraowl laraowl&lt;br&gt;
cd laraowl&lt;/p&gt;

&lt;h1&gt;
  
  
  Install dependencies and build assets
&lt;/h1&gt;

&lt;p&gt;npm install&lt;br&gt;
cp .env.example .env&lt;br&gt;
php artisan key:generate&lt;br&gt;
php artisan migrate&lt;br&gt;
npm run build&lt;br&gt;
&lt;code&gt;&lt;/code&gt;`&lt;/p&gt;

&lt;p&gt;To run the server, ensure you start the three supporting processes in the background (or via a process manager like Supervisor):&lt;/p&gt;

&lt;p&gt;`&lt;code&gt;&lt;/code&gt;bash&lt;/p&gt;

&lt;h1&gt;
  
  
  Process queue ingestion
&lt;/h1&gt;

&lt;p&gt;php artisan queue:work&lt;/p&gt;

&lt;h1&gt;
  
  
  Start WebSockets server
&lt;/h1&gt;

&lt;p&gt;php artisan reverb:start&lt;/p&gt;

&lt;h1&gt;
  
  
  Run scheduled health and uptime checks
&lt;/h1&gt;

&lt;p&gt;php artisan schedule:work&lt;br&gt;
&lt;code&gt;&lt;/code&gt;`&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Connect Your Monitored Applications
&lt;/h3&gt;

&lt;p&gt;In any Laravel app you want to monitor, pull in the client package and run the installer:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;`bash&lt;br&gt;
composer require laraowl/client&lt;br&gt;
php artisan laraowl:install&lt;br&gt;
`&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Follow the prompts to configure your API endpoint and token, and you are ready to monitor!&lt;/p&gt;




&lt;h2&gt;
  
  
  Technical Requirements
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  PHP 8.3+&lt;/li&gt;
&lt;li&gt;  Node.js 18+&lt;/li&gt;
&lt;li&gt;  MySQL 8.0+ or PostgreSQL&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Join the Project! 🤝
&lt;/h2&gt;

&lt;p&gt;LaraOwl is fully open-source and actively maintained. I would love to hear your feedback, bug reports, or feature suggestions. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  ⭐ Star/Fork the project on &lt;strong&gt;&lt;a href="https://github.com/laraowl/laraowl" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;  📖 Read the full documentation on our repo.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>laravel</category>
      <category>monitoring</category>
      <category>opensource</category>
      <category>showdev</category>
    </item>
    <item>
      <title>Filament WhatsApp Notifications</title>
      <dc:creator>Abdelmjid Saber</dc:creator>
      <pubDate>Sun, 14 Jul 2024 11:58:02 +0000</pubDate>
      <link>https://dev.to/megoxv/filament-whatsapp-notifications-2k43</link>
      <guid>https://dev.to/megoxv/filament-whatsapp-notifications-2k43</guid>
      <description>&lt;p&gt;In today's fast-paced digital world, staying connected with your audience is crucial. WhatsApp notifications have emerged as a powerful tool for real-time communication, enabling businesses to engage with customers instantly. Filament, combined with the ZeroMsg Laravel package, offers an efficient way to manage these notifications seamlessly. This article will guide you through the process of setting up and utilizing Filament WhatsApp notifications using ZeroMsg.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;What is ZeroMsg?&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://zeromsg.com/" rel="noopener noreferrer"&gt;ZeroMsg&lt;/a&gt; is a versatile messaging platform that integrates with Laravel to provide a fluent interface for sending various types of messages, including text, image, voice, media, list messages, link previews, and locations. It simplifies the process of sending WhatsApp notifications, making it easier for developers to implement advanced messaging features in their applications.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Setting Up ZeroMsg with Laravel&lt;/strong&gt;
&lt;/h3&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Installation Steps&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;To get started with &lt;a href="https://zeromsg.com/" rel="noopener noreferrer"&gt;ZeroMsg&lt;/a&gt;, you need to install the package in your Laravel project. The installation process is straightforward and involves using Composer to require the package.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Configuration Requirements&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Before you can start sending messages, you'll need to configure ZeroMsg with your API key and Device ID. These credentials are essential for authenticating your requests to the ZeroMsg API.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Installing the ZeroMsg Package&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;First, open your terminal and run the following Composer command:&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 megoxv/zeromsg
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command will download and install the ZeroMsg package into your Laravel project.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Configuring ZeroMsg in Laravel&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;After installing the package, you need to add your ZeroMsg API key and Device ID to the &lt;code&gt;.env&lt;/code&gt; file of your Laravel project. This step is crucial for establishing a connection with the ZeroMsg API.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ZEROMSG_API_KEY=your_api_key_here
ZEROMSG_DEVICE_ID=your_device_id_here
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  &lt;strong&gt;Basic Usage of ZeroMsg&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;To use the ZeroMsg package, you need to include the &lt;code&gt;ZeroMsg&lt;/code&gt; facade in your Laravel project. Here is a basic example of sending a simple text message:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Megoxv\ZeroMsg\Facades\ZeroMsg&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nc"&gt;ZeroMsg&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;message&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Hello, this is a test message'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;to&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'34676010101'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;send&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  &lt;strong&gt;Advanced Message Types&lt;/strong&gt;
&lt;/h3&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Sending an Image&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Sending images via WhatsApp can enhance your communication by providing visual context. Here’s how you can send an image using ZeroMsg:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Megoxv\ZeroMsg\Facades\ZeroMsg&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nc"&gt;ZeroMsg&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;message&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Check out this image!'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;image&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'https://example.com/image.jpg'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'image.jpg'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;to&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'34676010101'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;send&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  &lt;strong&gt;Sending a Voice Message&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Voice messages add a personal touch to your communication. ZeroMsg makes it easy to send voice messages:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Megoxv\ZeroMsg\Facades\ZeroMsg&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nc"&gt;ZeroMsg&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;voice&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'https://example.com/voice.mp3'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;to&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'34676010101'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;send&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  &lt;strong&gt;Sending a Media Message&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;You can also send various media files using ZeroMsg. Here’s an example of sending a media file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Megoxv\ZeroMsg\Facades\ZeroMsg&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nc"&gt;ZeroMsg&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;message&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Check out this media file!'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;media&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'https://example.com/media.mp4'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'media.mp4'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;to&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'34676010101'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;send&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  &lt;strong&gt;Interactive Messages with ZeroMsg&lt;/strong&gt;
&lt;/h3&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Creating and Sending a List Message&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;List messages can provide a structured way to present options to the recipient. Here’s how you can create and send a list message:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Megoxv\ZeroMsg\Facades\ZeroMsg&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nc"&gt;ZeroMsg&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;message&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Check out this list!'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;listMessage&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="s1"&gt;'Options'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s1"&gt;'Select'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;[&lt;/span&gt;
            &lt;span class="p"&gt;[&lt;/span&gt;
                &lt;span class="s1"&gt;'title'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'Section 1'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="s1"&gt;'value'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'option1'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="s1"&gt;'description'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'First option'&lt;/span&gt;
            &lt;span class="p"&gt;],&lt;/span&gt;
            &lt;span class="p"&gt;[&lt;/span&gt;
                &lt;span class="s1"&gt;'title'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'Section 2'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="s1"&gt;'value'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'option2'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="s1"&gt;'description'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'Second option'&lt;/span&gt;
            &lt;span class="p"&gt;]&lt;/span&gt;
        &lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;to&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'34676010101'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;send&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  &lt;strong&gt;Crafting a Link Preview&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Link previews can make your messages more engaging by providing a snapshot of the linked content. Here’s an example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Megoxv\ZeroMsg\Facades\ZeroMsg&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nc"&gt;ZeroMsg&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;message&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Check out this link!'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;linkPreview&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'https://zeromsg.com'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;to&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'34676010101'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;send&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  &lt;strong&gt;Location-Based Messaging&lt;/strong&gt;
&lt;/h3&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Sending a Location Message&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Location messages are useful for sharing your current location or directing someone to a specific place. Here’s how to send a location message:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Megoxv\ZeroMsg\Facades\ZeroMsg&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nc"&gt;ZeroMsg&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;location&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'37.7749'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'-122.4194'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'San Francisco'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'California, USA'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;to&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'34676010101'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;send&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  &lt;strong&gt;Practical Use Cases&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Location-based messages are particularly useful for businesses in logistics, delivery services, or any scenario where precise location sharing is essential.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Publishing Assets&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;To customize the ZeroMsg package, you can publish its configuration file using the following Artisan command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;php artisan vendor:publish &lt;span class="nt"&gt;--tag&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"zeromsg-config"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command will publish the configuration file, allowing you to modify settings as needed.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Benefits of Using ZeroMsg&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Using ZeroMsg for WhatsApp notifications offers several advantages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Enhanced Communication:&lt;/strong&gt; Reach your audience instantly with personalized messages.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real-Time Engagement:&lt;/strong&gt; Engage with customers in real time, improving satisfaction and loyalty.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Versatile Messaging:&lt;/strong&gt; Send a variety of message types, including text, images, voice, and more.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Filament and Its Role&lt;/strong&gt;
&lt;/h3&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Introduction to Filament&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Filament is a powerful tool that simplifies the process of creating admin panels in Laravel applications. It provides a user-friendly interface and integrates seamlessly with various packages, including ZeroMsg.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Integrating Filament with ZeroMsg&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;By integrating Filament with ZeroMsg, you can manage WhatsApp notifications directly from your admin panel, streamlining your communication processes.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Use Cases of Filament WhatsApp Notifications&lt;/strong&gt;
&lt;/h3&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Business Communications&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Businesses can use WhatsApp notifications to send updates, reminders, and important information to customers.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Customer Support&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Enhance your customer support by providing real-time assistance and updates through WhatsApp.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Marketing Campaigns&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;WhatsApp notifications are an effective way to promote products, share offers, and engage with your audience during marketing campaigns.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Common Challenges and Solutions&lt;/strong&gt;
&lt;/h3&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Troubleshooting Installation Issues&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;If you encounter issues during installation, ensure that your Composer dependencies are up to date and that your API key and Device ID are correctly configured.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Handling API Errors&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;If you receive API errors, check the ZeroMsg documentation for troubleshooting tips and ensure that your API requests are correctly formatted.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;In conclusion, integrating Filament with ZeroMsg for WhatsApp notifications provides a robust solution for real-time communication. By following the steps outlined in this article, you can enhance your Laravel application's messaging capabilities and engage with your audience more effectively.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How to Send WhatsApp Notifications in Laravel 11</title>
      <dc:creator>Abdelmjid Saber</dc:creator>
      <pubDate>Sun, 14 Jul 2024 11:51:42 +0000</pubDate>
      <link>https://dev.to/megoxv/how-to-send-whatsapp-notifications-in-laravel-11-520m</link>
      <guid>https://dev.to/megoxv/how-to-send-whatsapp-notifications-in-laravel-11-520m</guid>
      <description>&lt;p&gt;In today's fast-paced digital world, keeping your users informed in real-time is crucial. WhatsApp notifications have become a vital tool for businesses to engage with their customers instantly. Whether it's updating an order status, sending promotional messages, or alerting users about important events, automated notifications can enhance user experience and boost engagement.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://zeromsg.com/" rel="noopener noreferrer"&gt;ZeroMsg&lt;/a&gt; is a powerful API that simplifies sending WhatsApp notifications from your Laravel applications. This article will guide you through the steps to integrate ZeroMsg with your Laravel project, from installation to sending various types of messages.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Setting Up Your Laravel Project&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Before diving into ZeroMsg, ensure you have a Laravel project set up. If you don't have one yet, you can create a new Laravel project by running:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;composer create-project laravel/laravel whatsapp-notifications
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Make sure you have PHP and Composer installed on your machine. Follow the Laravel installation guide if you need more detailed instructions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Installing ZeroMsg&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The first step to using &lt;a href="https://zeromsg.com/" rel="noopener noreferrer"&gt;ZeroMsg&lt;/a&gt; in your Laravel project is to install the package via Composer. Open your terminal and run the following command:&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 megoxv/zeromsg
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After the installation is complete, you should see ZeroMsg listed in your &lt;code&gt;composer.json&lt;/code&gt; file.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Configuring ZeroMsg&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Next, you need to configure ZeroMsg with your API key and device ID. Add the following lines to your &lt;code&gt;.env&lt;/code&gt; file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ZEROMSG_API_KEY=your_api_key_here
ZEROMSG_DEVICE_ID=your_device_id_here
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These credentials are essential for authenticating your requests to the ZeroMsg API. Make sure to keep these values secure and never expose them in your source code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sending a Simple Text Message&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Sending a text message with ZeroMsg is straightforward. Here's a basic example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Megoxv\ZeroMsg\Facades\ZeroMsg&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nc"&gt;ZeroMsg&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;message&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Hello, this is a test message'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;to&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'34676010101'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;send&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In this example, replace &lt;code&gt;34676010101&lt;/code&gt; with the recipient's phone number. The &lt;code&gt;message&lt;/code&gt; method sets the content of the message, and the &lt;code&gt;to&lt;/code&gt; method specifies the recipient.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sending Media Messages&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;ZeroMsg supports sending various types of media messages. Let's start with images:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Megoxv\ZeroMsg\Facades\ZeroMsg&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nc"&gt;ZeroMsg&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;message&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Check out this image!'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;image&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'https://example.com/image.jpg'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'image.jpg'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;to&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'34676010101'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;send&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For voice messages, you can use the &lt;code&gt;voice&lt;/code&gt; method:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Megoxv\ZeroMsg\Facades\ZeroMsg&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nc"&gt;ZeroMsg&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;voice&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'https://example.com/voice.mp3'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;to&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'34676010101'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;send&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Similarly, you can send other media types like videos and documents using the &lt;code&gt;media&lt;/code&gt; method.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Advanced Messaging Features&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;ZeroMsg also offers advanced messaging features such as list messages, link previews, and location data.&lt;/p&gt;

&lt;p&gt;To send a list message:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Megoxv\ZeroMsg\Facades\ZeroMsg&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nc"&gt;ZeroMsg&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;message&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Check out this list!'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;listMessage&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="s1"&gt;'Options'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s1"&gt;'Select'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;[&lt;/span&gt;
            &lt;span class="p"&gt;[&lt;/span&gt;
                &lt;span class="s1"&gt;'title'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'Section 1'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="s1"&gt;'value'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'option1'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="s1"&gt;'description'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'First option'&lt;/span&gt;
            &lt;span class="p"&gt;],&lt;/span&gt;
            &lt;span class="p"&gt;[&lt;/span&gt;
                &lt;span class="s1"&gt;'title'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'Section 2'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="s1"&gt;'value'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'option2'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="s1"&gt;'description'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'Second option'&lt;/span&gt;
            &lt;span class="p"&gt;]&lt;/span&gt;
        &lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;to&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'34676010101'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;send&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To send a link preview:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Megoxv\ZeroMsg\Facades\ZeroMsg&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nc"&gt;ZeroMsg&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;message&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Check out this link!'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;linkPreview&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'https://zeromsg.com'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;to&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'34676010101'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;send&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To send location data:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Megoxv\ZeroMsg\Facades\ZeroMsg&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nc"&gt;ZeroMsg&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;location&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'37.7749'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'-122.4194'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'San Francisco'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'California, USA'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;to&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'34676010101'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;send&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Deploying Your Application&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Before deploying your Laravel application, make sure it’s production-ready. This includes optimizing performance, securing your environment variables, and ensuring reliable message delivery. Use Laravel’s deployment tools and practices to streamline this process.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Case Studies and Use Cases&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;WhatsApp notifications can be used in various scenarios, from e-commerce order updates to appointment reminders. For example, an e-commerce store can use ZeroMsg to send order confirmations and shipping updates, enhancing customer satisfaction.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Performance Optimization&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For high-volume messaging, performance optimization is key. Ensure your server can handle multiple requests, and consider using Laravel queues for sending messages asynchronously.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Future of WhatsApp Notifications&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;As messaging technology evolves, new features and enhancements are continually being introduced. ZeroMsg is committed to staying at the forefront of these changes, providing developers with the tools they need to build robust messaging applications.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>VisionGPT - Analyze your image in seconds with AI</title>
      <dc:creator>Abdelmjid Saber</dc:creator>
      <pubDate>Fri, 24 May 2024 08:29:13 +0000</pubDate>
      <link>https://dev.to/megoxv/visiongpt-analyze-your-image-in-seconds-with-ai-2iko</link>
      <guid>https://dev.to/megoxv/visiongpt-analyze-your-image-in-seconds-with-ai-2iko</guid>
      <description>&lt;p&gt;I'm excited to announce the launch of my new project: &lt;strong&gt;VisionGPT&lt;/strong&gt; - a SaaS platform that leverages the power of AI to analyze your images in seconds! 🚀&lt;/p&gt;

&lt;h1&gt;
  
  
  What is VisionGPT?
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;VisionGPT&lt;/strong&gt; is designed to transform your visual data into actionable insights instantly. Whether you need to identify objects, extract text, or recognize faces, VisionGPT delivers accurate and fast results, making it a valuable tool for various applications.&lt;/p&gt;

&lt;h1&gt;
  
  
  Key Features:
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Object Detection: Quickly identify and label objects within your images.&lt;/li&gt;
&lt;li&gt;Text Extraction: Extract and process text from images with high precision.&lt;/li&gt;
&lt;li&gt;Face Recognition: Recognize and analyze faces effortlessly.&lt;/li&gt;
&lt;li&gt;Fast and Accurate: Experience rapid processing with high accuracy.&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Get Started:
&lt;/h1&gt;

&lt;p&gt;Website: &lt;a href="https://visiongpt.vercel.app" rel="noopener noreferrer"&gt;https://visiongpt.vercel.app&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/megoxv/visionGPT" rel="noopener noreferrer"&gt;https://github.com/megoxv/visionGPT&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;VisionGPT&lt;/strong&gt; is open source, and I welcome contributions from the community. Whether you're a developer looking to enhance the project or a user with feedback, your input is invaluable.&lt;/p&gt;

&lt;p&gt;Check it out and let me know what you think!&lt;/p&gt;

</description>
      <category>ai</category>
      <category>saas</category>
      <category>opensource</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
