questions/web-development/laravel
Hello @kartik, There are date helpers available in ...READ MORE
Hello @kartik, your laravel connexion (config / database.php) ...READ MORE
Hello @kartik, You can use the blade template ...READ MORE
Hello @kartik, Using hidden array in model is good, but ...READ MORE
Simply use Sessions my friend Page1: session_start(); $ ...READ MORE
Hello, using the model. just like this User::where('username','John') -> ...READ MORE
Hello @kartik, your directory path is wrong. You ...READ MORE
Hello, If you are using a QUEUE_DRIVER diferent to sync and you ...READ MORE
Hello @kartik, If it isn't already there, create ...READ MORE
Hello @kartik, By default, blade doesn't have @break and @continue which are ...READ MORE
Hello @kartik, It's not really Eloquent, to add ...READ MORE
Hello @kartik, Code row updates like this: ...->update( array( ...READ MORE
Hey @kartik, First you have to go to ...READ MORE
Hello, Laravel allow use of their library method that ...READ MORE
Hello @kartik, Usually, this is used in Blade ...READ MORE
Hello @kartik, you can use json_decode function foreach (json_decode($response) as $area) { ...READ MORE
Hello, In app/config/session.php you have: lifetime option that allow you to set session ...READ MORE
Hello, Never use 777 for directories on your ...READ MORE
Hello @kartik, Assigning the ASP.NET Session Variable using ...READ MORE
Hello, To create both of the created_at and updated_at columns: $t->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP')); $t->timestamp('updated_at')->default(DB::raw('CURRENT_TIMESTAMP on update ...READ MORE
Hello @kartik, For Guzzle 5, 6 and 7 you do ...READ MORE
Hello, You can first refer how to Create controller through ...READ MORE
Hello @kartik, The issue is route parameters aren't ...READ MORE
Hello @kartik, You need to run php artisan migrate:rollback if ...READ MORE
Hello @kartik, You can try something like this DB::select('exec ...READ MORE
Hello @kartik, Your route is: Route::patch('users/update', 'UsersController@update'); replace your route ...READ MORE
Hello @kartik, Try changing your headers to this: $headers ...READ MORE
Hello, The cursor method allows us to iterate ...READ MORE
Hello @kartik, The error message is due to ...READ MORE
Laravel reverse routing is generating URL's based ...READ MORE
Hello @kartik, You can use less code, writing ...READ MORE
Hello, You can write like this, you need ...READ MORE
Hello @kartik, The simplest way is just to ...READ MORE
You just have to pass all the ...READ MORE
Hello @kartik, In Laravel 3, call path('storage'). In Laravel 4, ...READ MORE
Hey @kartik, This Error happens in almost all ...READ MORE
Hello @kartik, You can create a new storage ...READ MORE
Hello @kartik, You would want to use ->forget() $collection->forget($key); Hope it ...READ MORE
Hello @kartik, Here is the way I do ...READ MORE
Hello @kartik, This will work: ...READ MORE
Hello @kartik, You can use error_get_last() when mai l()returns false. $success = mail('example@example.com', ...READ MORE
Hello @kartik, Try this after you have run ...READ MORE
Hello @kartik, You can make a route specifically ...READ MORE
Hello @kartik, Use middleware for this purpose and ...READ MORE
Hello @kartik, Below steps helped me fix the ...READ MORE
Hello @kartik, Just try this in your view ...READ MORE
Hello @kartik, You can use if(DB::connection()->getDatabaseName()) { echo ...READ MORE
Hello @kartik, It seems Laravel is trying to ...READ MORE
Hello @kartik, The "Killed" message usually means your ...READ MORE
Hello @kartik, Run php artisan and see if your commands ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.