<?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: CodeWithRonny</title>
    <description>The latest articles on DEV Community by CodeWithRonny (@codewithronny).</description>
    <link>https://dev.to/codewithronny</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%2F1360281%2F221cd2eb-9644-4ff2-9d6e-559cc43d718f.jpg</url>
      <title>DEV Community: CodeWithRonny</title>
      <link>https://dev.to/codewithronny</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/codewithronny"/>
    <language>en</language>
    <item>
      <title>How to create professional lead collecting form for website</title>
      <dc:creator>CodeWithRonny</dc:creator>
      <pubDate>Wed, 24 Jul 2024 08:53:10 +0000</pubDate>
      <link>https://dev.to/codewithronny/how-to-create-professional-lead-collecting-form-for-website-1j12</link>
      <guid>https://dev.to/codewithronny/how-to-create-professional-lead-collecting-form-for-website-1j12</guid>
      <description>&lt;p&gt;Any company needs leads to increase sells and company growth. So it’s important to have the lead collecting form on your client website. In this article we will learn How to create professional lead collecting form for website. We will see how to develop an web page using PHP Laravel and Mysql to store all the leads in database. Previously i were developing this project for one of my client Luisnvaya. I created this form to collect customer enquiry as a lead and display in Admin area.&lt;/p&gt;

&lt;p&gt;Lets see how to create an form.&lt;/p&gt;

&lt;p&gt;Make Routes&lt;br&gt;
&lt;code&gt;Route::get('/contact-us', [App\Http\Controllers\ContactController::class, 'contactUs'])-&amp;gt;name('contact_us');&lt;br&gt;
Route::post('/lead-save', [App\Http\Controllers\Frontend\HomeController::class, 'LeadSave'])-&amp;gt;name('lead_save');&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Let’s make two routes one for leads collecting page and another for storing the leads. The first route contact-us for loading contact form and second route lead-save for storing the lead in database.&lt;/p&gt;

&lt;p&gt;Create a Controller&lt;br&gt;
So next step is to create a contoller named ContactController in app/Http/Controllers/ContactController . In Laravel controller is an PHP class that act as controlling system for an web application request-response cycle. It contains functions that handle lots of HTTP request. Developer can define custom number of function within a controller.&lt;/p&gt;

&lt;p&gt;Here is an example your controller code should look like this.&lt;/p&gt;

&lt;p&gt;Read Full Articles &lt;a href="https://codewithronny.com/how-to-create-professional-lead-collecting-form-for-website/" rel="noopener noreferrer"&gt;Here&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How to Create an Professional Blog Using Laravel PHP</title>
      <dc:creator>CodeWithRonny</dc:creator>
      <pubDate>Thu, 18 Jul 2024 11:06:28 +0000</pubDate>
      <link>https://dev.to/codewithronny/how-to-create-an-professional-blog-using-laravel-php-1feh</link>
      <guid>https://dev.to/codewithronny/how-to-create-an-professional-blog-using-laravel-php-1feh</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;br&gt;
Laravel is an PHP’s free open source and famous web framework, developed by Taylor Otwell to develop web application for MVC (Model View Controller) architectural patterns. It supports backend and frontend development. Let’s see How to Create an Professional Blog Using Laravel PHP.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to Create an Professional Blog Using Laravel PHP&lt;/strong&gt;&lt;br&gt;
In this article we will learn how to develop blog using laravel. Right now i am creating blogging system for one of my client Luisnvaya. There is more need of blog section on every website, make sure you are creating proferssional blogging system for your own website or for your client website. Here we will see how an professional blog creates.&lt;/p&gt;

&lt;p&gt;Let’s build a new laravel app named blog. Use below command to create new project in current directory.&lt;/p&gt;

&lt;p&gt;composer create-project laravel/laravel blog&lt;br&gt;
Bash&lt;br&gt;
Let’s run laravel app to check installation completed successfully.&lt;/p&gt;

&lt;p&gt;php artisan serve&lt;br&gt;
Bash&lt;br&gt;
Check Laravel App In Browser&lt;br&gt;
go to your browser and hit the localhost &lt;a href="http://127.0.0.1:8000/" rel="noopener noreferrer"&gt;http://127.0.0.1:8000/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://codewithronny.com/how-to-create-an-professional-blog-using-laravel-php/" rel="noopener noreferrer"&gt;Read Full Original Article Here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Connect With Database&lt;/strong&gt;&lt;br&gt;
Create database, user, password and replace below information with yours.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Migrate Laravel App&lt;/strong&gt;&lt;br&gt;
If you using Highier version of laravel, you have to run migration to create needable database.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://codewithronny.com/how-to-create-an-professional-blog-using-laravel-php/" rel="noopener noreferrer"&gt;Read Full Original Article Here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What are Models in Laravel Framework and How to Use it&lt;/strong&gt;&lt;br&gt;
A Model is an PHP class in laravel framework that represent the database table. Basically It is responsible for maintaining the data in table and giving a method to user to interact with it. Data can be updated, added, retrieved or fetching and finally deleted by this models. So, let’s consider model is an manager of your data, they gurantee the validity, accuracy and safety of your data, and You can develop an User Model in Laravel if your database contains User Table. Generally the User model would be the manager to getting user records out of the database, adding new records, updating already existing records and deleting existing records.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://codewithronny.com/how-to-create-an-professional-blog-using-laravel-php/" rel="noopener noreferrer"&gt;Read Full Original Article Here&lt;/a&gt;&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>codewithronny</category>
      <category>blog</category>
    </item>
  </channel>
</rss>
