#laravel 9 how to add prefix to #jetstream routes?
open config/jetsream.php and add:
'prefix' => 'app', // app will be prefix for all jetstream routes
#laravel 9 how to add prefix to #jetstream routes?
open config/jetsream.php and add:
'prefix' => 'app', // app will be prefix for all jetstream routes
how to provide different redirects at login when using #laravel Fortify or #jetstream
https://talltips.novate.co.uk/laravel/laravel-8-conditional-login-redirects
#laravel how to check does request contain specific POST parameter. Actually there are couple of methods we can use in this case.
Here they are in another #laraveltip
$request->has('eventName')
// or
$request->exists('eventName')
// or
$request->filled('eventName')
#laraveltip how to validate date in submit form❓️ Here is the simple example of validating different types of dates passed from submit form:
<?php
// eventDate = 16/02/2000
$request->validate([
'eventDate' => 'required|date_format:d/m/Y',
]);
?>