{"id":62,"date":"2025-04-03T07:04:57","date_gmt":"2025-04-03T07:04:57","guid":{"rendered":"https:\/\/documentation.iqonic.design\/streamit-laravel\/?p=62"},"modified":"2025-08-20T06:48:49","modified_gmt":"2025-08-20T06:48:49","slug":"laravel-configuration","status":"publish","type":"post","link":"https:\/\/documentation.iqonic.design\/streamit-laravel\/laravel-configuration\/","title":{"rendered":"Configuration"},"content":{"rendered":"<div class=\"nolwrap\">\n<h2 class=\"wp-block-heading\">\u2699\ufe0f&nbsp;<strong>Configuration \u2013 Mail Setup<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Why is Mail Configuration Required?<\/strong><\/h3>\n\n\n\n<p>When you\u2019re running a Laravel application that includes features like&nbsp;<strong>password reset, booking confirmations, or contact forms<\/strong>, the app needs to send emails.<br>To enable this, you must configure the mail settings properly.<\/p>\n\n\n\n<p>Laravel uses a special configuration file called&nbsp;<strong>.env<\/strong>&nbsp;to manage all sensitive settings \u2014 including email.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Steps to Configure Mail in Laravel<\/strong><\/h3>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Step 1: Open and Edit the&nbsp;<code>.env<\/code>&nbsp;File<\/strong><\/h5>\n\n\n\n<p>The&nbsp;<strong>.env<\/strong>&nbsp;file is located in the&nbsp;<strong>root directory<\/strong>&nbsp;of your Laravel project.<\/p>\n\n\n\n<p>Open this file and add the following mail configuration values:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">MAIL_DRIVER=\"Your mail driver\"           \u2192 (e.g., smtp)\nMAIL_HOST=\"Your mail host\"               \u2192 (e.g., smtp.gmail.com)\nMAIL_PORT=\"Your mail port\"               \u2192 (e.g., 587)\nMAIL_USERNAME=\"Your email ID\"            \u2192 (e.g., yourname@gmail.com)\nMAIL_PASSWORD=\"Your email password\"      \u2192 (e.g., your email account password)\nMAIL_ENCRYPTION=\"Your encryption type\"   \u2192 (e.g., tls or ssl)<\/pre>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Step 2: Fill in the Mail Credentials<\/strong><\/h5>\n\n\n\n<p>Here\u2019s what each value means:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>MAIL_DRIVER:<\/strong>&nbsp;Usually set as&nbsp;<strong>smtp<\/strong><\/li>\n\n\n\n<li><strong>MAIL_HOST:<\/strong>&nbsp;For Gmail it is&nbsp;<strong>smtp.gmail.com<\/strong>, for others it could be&nbsp;<strong>smtp.sendgrid.net<\/strong>, etc.<\/li>\n\n\n\n<li><strong>MAIL_PORT:<\/strong>&nbsp;Common values are&nbsp;<strong>587<\/strong>,&nbsp;<strong>465<\/strong>, or&nbsp;<strong>2525<\/strong>, depending on your email provider<\/li>\n\n\n\n<li><strong>MAIL_USERNAME:<\/strong>&nbsp;The email ID used to send emails from your app<\/li>\n\n\n\n<li><strong>MAIL_PASSWORD:<\/strong>&nbsp;The actual password or app-specific password of your email<\/li>\n\n\n\n<li><strong>MAIL_ENCRYPTION:<\/strong>&nbsp;Usually&nbsp;<strong>tls<\/strong>&nbsp;or&nbsp;<strong>ssl<\/strong>&nbsp;(used to secure the connection)<\/li>\n<\/ul>\n\n\n\n<h5 class=\"wp-block-heading\">\ud83d\udcdd&nbsp;<strong>Example for Gmail Setup:<\/strong><\/h5>\n\n\n\n<pre class=\"wp-block-preformatted\">MAIL_DRIVER=smtp<br>MAIL_HOST=smtp.gmail.com<br>MAIL_PORT=587<br>MAIL_USERNAME=yourname@gmail.com<br>MAIL_PASSWORD=yourpassword<br>MAIL_ENCRYPTION=tls<\/pre>\n\n\n\n<p>After saving these settings, your Laravel application will be able to send emails automatically.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83e\uddff&nbsp;<strong>Configuration \u2013&nbsp;General&nbsp;Settings<\/strong><\/h2>\n\n\n\n<p><strong>Business Setting<\/strong>&#8211; Change your&nbsp;<strong>App Name<\/strong>,&nbsp;<strong>Footer Text<\/strong>,&nbsp;<strong>Copyright Text<\/strong>,&nbsp;<strong>Helpline Number<\/strong>,&nbsp;<strong>Inquiry Email<\/strong>,&nbsp;<strong>Site Description and Logos<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"731\" src=\"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-content\/uploads\/sites\/5\/2025\/04\/Configuration1.png\" alt=\"\" class=\"wp-image-331\" \/><\/figure>\n\n\n\n<p><strong>Custom Code<\/strong>&#8211; The&nbsp;<strong>Custom Code section<\/strong>&nbsp;allows you to add custom programming code to your app or platform. This is useful when you need additional functionality or want to modify how certain parts of the platform behave.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"731\" src=\"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-content\/uploads\/sites\/5\/2025\/04\/Configuration2.png\" alt=\"\" class=\"wp-image-332\" \/><\/figure>\n\n\n\n<p><strong>Module Setting<\/strong>&#8211; This section lets you manage and configure the different modules or features available in your app or system.&nbsp;<strong>Like Movies<\/strong>,&nbsp;<strong>TV Shows<\/strong>,&nbsp;<strong>Live TV<\/strong>,&nbsp;<strong>Videos<\/strong>. You can set module settings<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"731\" src=\"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-content\/uploads\/sites\/5\/2025\/04\/Configuration3.png\" alt=\"\" class=\"wp-image-333\" \/><\/figure>\n\n\n\n<p><strong>Misc Setting<\/strong>&#8211; This is&nbsp;<strong>Global Settings.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"731\" src=\"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-content\/uploads\/sites\/5\/2025\/04\/Configuration4.png\" alt=\"\" class=\"wp-image-334\" \/><\/figure>\n\n\n\n<p><strong>Customization<\/strong>&#8211; This is for&nbsp;<strong>Customizing<\/strong>&nbsp;look &amp; feel of Theme.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"731\" src=\"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-content\/uploads\/sites\/5\/2025\/04\/Configuration5.png\" alt=\"\" class=\"wp-image-335\" \/><\/figure>\n\n\n\n<p><strong>Mail Setting<\/strong>&#8211; Configure&nbsp;<strong>Mail<\/strong>&nbsp;Settings.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"731\" src=\"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-content\/uploads\/sites\/5\/2025\/04\/Configuration6.png\" alt=\"\" class=\"wp-image-336\" \/><\/figure>\n\n\n\n<p><strong>Notification Setting<\/strong>&#8211; Configure when you want to send notifications.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"731\" src=\"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-content\/uploads\/sites\/5\/2025\/04\/Configuration7.png\" alt=\"\" class=\"wp-image-337\" \/><\/figure>\n\n\n\n<p><strong>Payment Method<\/strong>&#8211;&nbsp;<strong>Enable\/Disable any Payment Method<\/strong>&nbsp;from here.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"731\" src=\"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-content\/uploads\/sites\/5\/2025\/04\/Configuration8.png\" alt=\"\" class=\"wp-image-338\" \/><\/figure>\n\n\n\n<p><strong>Language Setting<\/strong>&#8211; If you want to change any translation than utilize this settings.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"731\" src=\"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-content\/uploads\/sites\/5\/2025\/04\/Configuration9.png\" alt=\"\" class=\"wp-image-339\" \/><\/figure>\n\n\n\n<p><strong>Notification Configuration<\/strong>&#8211; This setting allows you to manage how and when notifications are sent to users.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"731\" src=\"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-content\/uploads\/sites\/5\/2025\/04\/Configuration10.png\" alt=\"\" class=\"wp-image-340\" \/><\/figure>\n\n\n\n<p><strong>Currency Setting<\/strong>&#8211; You can set&nbsp;<strong>Global Currency settings.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"731\" src=\"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-content\/uploads\/sites\/5\/2025\/04\/Configuration11.png\" alt=\"\" class=\"wp-image-341\" \/><\/figure>\n\n\n\n<p><strong>Storage Setting<\/strong>&#8211; You can set&nbsp;<strong>Storage settings<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"731\" src=\"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-content\/uploads\/sites\/5\/2025\/04\/Configuration12.png\" alt=\"\" class=\"wp-image-342\" \/><\/figure>\n\n\n\n<p><\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>\u2699\ufe0f&nbsp;Configuration \u2013 Mail Setup Why is Mail Configuration Required? When you\u2019re running a Laravel application that includes features like&nbsp;password reset, booking confirmations, or contact forms, the app needs to send emails.To enable this, you must configure the mail settings properly. Laravel uses a special configuration file called&nbsp;.env&nbsp;to manage all sensitive settings \u2014 including email. Steps [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"parent":55,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-62","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"featured_image_src":null,"author_info":{"display_name":"laraveladminiq","author_link":"https:\/\/documentation.iqonic.design\/streamit-laravel\/author\/laraveladminiq\/"},"children":[],"_links":{"self":[{"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/posts\/62","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/comments?post=62"}],"version-history":[{"count":9,"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/posts\/62\/revisions"}],"predecessor-version":[{"id":1229,"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/posts\/62\/revisions\/1229"}],"up":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/posts\/55"}],"wp:attachment":[{"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/media?parent=62"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/categories?post=62"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/streamit-laravel\/wp-json\/wp\/v2\/tags?post=62"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}