questions/web-development/laravel/page/3
Hello @kartik, You would want to use ->forget() $collection->forget($key); Hope it ...READ MORE
Hii, You can use Conditions using Array: $users = User::where([ ...READ MORE
Hello @kartik, The error message is due to ...READ MORE
Hello @kartik, Try changing your headers to this: $headers ...READ MORE
You can use unique Example 'email' => 'unique:users,email ...READ MORE
Hello @kartik, First, if you want to have ...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, You can use this type of ...READ MORE
Hello, with() function is used to eager load in ...READ MORE
Hello, $subdomain is injected in the actual Route callback, it is ...READ MORE
Hello @kartik, It seems Laravel is trying to ...READ MORE
Hello @kartik, You can use relations as query ...READ MORE
Hello @kartik, You may rename the test folder ...READ MORE
Hello @kartik, You can use error_get_last() when mai l()returns false. $success = mail('example@example.com', ...READ MORE
Hello @kartik, You can use the blade template ...READ MORE
Hello @kartik, The cleanest way to know the ...READ MORE
Hello @kartik, When you try to access a ...READ MORE
Just add it as the 3rd argument: {{ ...READ MORE
Hii, You can created the function below: public static ...READ MORE
Hello @kartik, You can simply use the abort() helper. (Or App::abort()) public ...READ MORE
Hello @kartik, The only thing that you have ...READ MORE
Hello @kartik, You can change: @if (Cookie::get('cookiename') !== false) to @if ...READ MORE
Hello, You can try to login the user ...READ MORE
Hello @kartik, First arrange for the middleware to ...READ MORE
Hello, normally override newQuery() for this. newQuery() is the method that Eloquent ...READ MORE
Hello, Laravel allow use of their library method that ...READ MORE
Hello @kartik, If your model is filled with ...READ MORE
Hello @kartik, good way to run an asynchronous ...READ MORE
Hello @kartik, The validation feature built into Laravel ...READ MORE
Hello, After update do: chmod -R gu+w storage chmod -R ...READ MORE
Hello @kartik, One of the methods it provides ...READ MORE
Hello @kartik, First, you'll need to find the ...READ MORE
Hello @kartik, You need to give the full ...READ MORE
Hii @kartik, Laravel intercepts all input. If you're ...READ MORE
Hello @kartik, By default, blade doesn't have @break and @continue which are ...READ MORE
Hello @kartik, You can use: Request::url() to obtain the current ...READ MORE
Hii, Filters can be passed parameters, like the ...READ MORE
Hello @kartik, Try this: return Redirect::to('admin/users/create') ...READ MORE
Hello @kartik, in Laravel's inbuilt auth system, the ...READ MORE
Hello, You need to customize the request $data = ...READ MORE
Hello @kartik, You can use request object: request()->server('SERVER_ADDR'); Or you ...READ MORE
Hello, To do the same as mail() PHP ...READ MORE
Hello @kartik, The "Killed" message usually means your ...READ MORE
Hello @kartik, Your response must return some sort ...READ MORE
Hello @kartik, Use: sudo php artisan serve --host 192.168.1.101 ...READ MORE
Hello @kartik, You call it by http://localhost:8080/api/test ...READ MORE
Hello @kartik, You can't do it by default ...READ MORE
Hii, Try this command: php -S localhost:8000 -t public Then ...READ MORE
Hello @kartik, Laravel migration generator for your existing ...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.