Category: Code/Syntax
Factory – Laravel
Here 5 factory file is created and used UserFactory.php InfoFactory.php ArticleFactory.php CategoryFactory.php PermissionFactory.php UserFactory.php $factory->define(App\User::class, function…
Active Current Menu Item – Laravel
How to Use Request Segment ? There are different ways to active the current menu. We…
Modal Box Developer On Click – Laravel
This page is specially for developer to receive the email sent by user through domain. So…
Change Password – Laravel
Following is the code to be used inside controller. 2 functions is declared, one is for…
Join in Laravel – MySQL
Please note: Dont forget to mention Facade DB on top as shown in following code: use…
Image Intervention – Resize and All – Laravel
Find the providers in config >> app.php file and register the ImageServiceProvider. Locate the aliases in config >> app.php file and register the aliases. Controller ==> Save Data…
Email – Simple Mail Facades – Laravel
In this example, one can send email using Mail facades. Mail facades has 3 parameters first…
SMTP Server Email Setting – Laravel
Following code is written inside .env file. By default following 2 info are not included in…