Laravel Two-Step Registration
Laravel Two-Step Registration: Optional Fields for Country and City Imagine a project where you need to have two-step registration process, with some optional fields in the second step. Let’s build …
By Nikunj Joshi
Laravel Two-Step Registration: Optional Fields for Country and City Imagine a project where you need to have two-step registration process, with some optional fields in the second step. Let’s build …
Brief About MVC in PHP Learn MVC PHP framework step by step! MVC pattern, which stands for Model View Controller, is a widely – used programming technology and the most …
How to pass common data to all views in Laravel 5 Step 1) Open file in app/Providers/AppServiceProvider.php In AppServiceProvider class first add use Illuminate\Support\Facades\View; In boot function add data you …
Useful Laravel Blade Directives We’re going to look at five Laravel Blade directives you can use to simplify your templates, and learn about some convenient directives that make solving specific …
Clear Cache facade value: php artisan cache:clear Clear Route cache: php artisan route:cache Clear View cache: php artisan view:clear Clear Config cache: php artisan config:cache
Laravel Validation Add this in top of controller use Validator; // Add this code for validation of fields $validatedData = $this->validate($request,[ ‘name’ => ‘required|alpha_num|min:4|max:50′, ’email’ => ‘required|email|min:6|max:50|unique:email’, ‘password’ => ‘required|min:6|max:50’, …
PHP Basic OOPs Concepts Object oriented programming is a technique to design your application. In object oriented programming, everything will be around the objects and class. By using OOP in …
Below is the command to get list of the artisan commands in laravel. Run this command in console to get the list of artisan commands in laravel. php artisan list …