Sawa Stacks is your go-to source for web development and web design education. We offer comprehensive tutorials on essential technologies such as PHP, HTML, CSS, JavaScript, Laravel, CodeIgniter, and React JS. Whether you're a beginner or an experienced developer, our content is designed to help you enhance your skills and stay updated with the latest industry tends.
We aim to provide valuable content that enhances your skills and keeps you informed about the latest trends in the industry. We also share useful tips and tricks to help you navigate and resolve IT and Tech challenges. Subscribe to stay updated and boost your web development journey!
Got questions? Reach out to us at: sawastacks@gmail.com
Hi, my pc command terminal is giving me an error that the term php is not recognised as the name of a cmdlet, script file or operable program. Please help
@animalhusbandryuganda2487 Yeah. I mentioned both methods. One method, is where you use composer command to install codeigniter. Second method, is where you download latest release on Github repository.🤷
@@sawastacks hi, when I run the php spark server command, I get Fatal error: Call to undefined function str_starts_with() in C:/wamp64/codeigniter4-4.5.4/spark on line 28
@hv_94 "Yeah, I tried to find a permanent solution, but so far I haven't found one. However, if I do find it, I will let you know. In the meantime, could you please be patient and use that method every time XAMPP has an issue?"
10:54 Oh, it's unclear how to complete this step in Laravel 11. If possible, please tell me how to do it correctly (sorry for my English, i use translator:) )
Ohh, Sorry for late. Actually, Livewire 11 structure became with the missing of some files that was available in Laravel 10. But those files are still there in Laravel 11. So, To use Authenticate.php and RedirectIfAuthenticated.php file use the following Steps: 1. Open AppServiceProvider.php - import these three classes use Illuminate\Auth\Middleware\RedirectIfAuthenticated; use Illuminate\Auth\Middleware\Authenticate; use Illuminate\Support\Facades\Session; - Update boot() method like this: public function boot(): void { RedirectIfAuthenticated::redirectUsing(function () { return route('admin.dashboard'); }); Authenticate::redirectUsing(function () { Session::flash('fail','You need to login first'); return route('admin.login'); }); } Not: Don't forget to run "php artisan optimize" command after that. This is not fully result, but you can make your own strategy using above example especially when you're used multi-guards.
@@sawastacks Friend, I am very grateful to you for such a detailed answer! And thank you for your video lessons! P.S. It seems that creating a project on Laravel 11 was not the best idea 😀 It might have been easier to create a project on Laravel 10 and update it to the current version later.
why does the link in the description take me to a package payment page yet I am only a student I need the packages there for tutorial 8 can I have them please