Category: hosttech

  • E-Mails

    With Laravel its pretty easy to send mails. So let’s go over the different steps. Generating a Mailable Create a mailable class with Artisan: This creates a class in app/Mail/JobPosted.php where you can define: Creating the Email View Create a Blade view in resources/views/mail/job-posted.blade.php with your email content: Previewing the Email Add a temporary route to return the mailable…

    Zum Beitrag

    //

  • Install Breeze

    With Laravel 12 Breeze isn’t included as a starter kit by default anymore so if you want to use it, here’s how: 1. Setup a new Laravel Project These starter kits are intended to be used at the start of a new project. So run this command with your chosen name at the end and…

    Zum Beitrag

    //

  • Authentication and Tips

    Here’s a quick explanation on how you go about Authentication and some tips. Building Registration & Login Forms Defining Authentication Routes and Controllers Displaying Content Conditionally Use Blade directives to show login and register links only to guests: Use @auth to show content only to authenticated users. Registration Process When a user submits the registration form, the following…

    Zum Beitrag

    //