questions/web-development/laravel
Hii, Use order by like this: return User::orderBy('name', 'DESC') ...READ MORE
Hello @kartik, You can use: Request::url() to obtain the current ...READ MORE
Hello @kartik, Firstly create an object, Then set ...READ MORE
Hello, Use which php in the terminal to see which ...READ MORE
Hello @kartik, You need to give the full ...READ MORE
Hii, For Laravel 5, In the tests directory there should ...READ MORE
Hello @kartik, You can use request object: request()->server('SERVER_ADDR'); Or you ...READ MORE
Hii, Try this: $response->getSession()->get("errors") And from there you can check ...READ MORE
Hello, You can try to login the user ...READ MORE
Hello, $subdomain is injected in the actual Route callback, it is ...READ MORE
Hii, You need to pass it using use. Cache::remember('thumb-'.$hash, 15, ...READ MORE
Hello, If you are using a QUEUE_DRIVER diferent to sync and you ...READ MORE
Hello, You could create a custom Laravel directive. You ...READ MORE
Hello @kartik, When you run php artisan config:cache, Laravel ...READ MORE
Hello @kartik, find this line in php.ini : ;extension=soap then ...READ MORE
Hello @kartik, First you create a MySQL table ...READ MORE
Hello @kartik, This can be done with the ...READ MORE
Hello @kartik, Use: bool is_a ( object $object ...READ MORE
Hello @kartik, Use middleware for this purpose and ...READ MORE
Hello @kartik, First, you have to create relation ...READ MORE
Hello @kartik, Try this: return Redirect::to('admin/users/create') ...READ MORE
Hello @kartik, cache:clear artisan command does calls flush function on current ...READ MORE
Hello @kartik, DB::raw() is used to make arbitrary SQL ...READ MORE
Hello @kartik, Using the response helper. use Illuminate\Http\RedirectResponse; $response = $next($request); $response = ...READ MORE
Hii @kartik, Laravel intercepts all input. If you're ...READ MORE
Hello @kartik, You can make a route specifically ...READ MORE
Hii @kartik, Extend Blade by creating a push once directive as ...READ MORE
Hello @kartik, You need to change "server.php" to ...READ MORE
Hello @kartik, Global Scope is available: class Article extends Post { ...READ MORE
Hello @kartik, One of the methods it provides ...READ MORE
Hello @kartik, Use: sudo php artisan serve --host 192.168.1.101 ...READ MORE
Hello @kartik, set MAIL_ENCRYPTION= in .env file. and it worked fine ...READ MORE
Hello @kartik, You can simply use the abort() helper. (Or App::abort()) public ...READ MORE
Hello @kartik, You could use this: $reserves = DB::table('reserves')->selectRaw('*, ...READ MORE
Hello @kartik, The only thing that you have ...READ MORE
Hello @kartik, lists() turns the resulting collection into an ...READ MORE
Hello @kartik, If you have the token in ...READ MORE
Hello @kartik, First, if you want to have ...READ MORE
Hello @kartik, First arrange for the middleware to ...READ MORE
Hello @kartik, You could try this: public function testStoreAction() { ...READ MORE
123456789123 READ MORE
Hello @kartik, add <meta> tag with the token to the ...READ MORE
Hello @kartik, Your route is: Route::patch('users/update', 'UsersController@update'); replace your route ...READ MORE
Use two blade page,one for create and other ...READ MORE
Hello @kartik, First, you'll need to find the ...READ MORE
Hello @kartik, you can use json_decode function foreach (json_decode($response) as $area) { ...READ MORE
Hello @kartik, You can put this code for ...READ MORE
Hello @kartik, You can specify custom error message ...READ MORE
Hello @kartik, This will work: ...READ MORE
Hello @kartik, You can update the cache object ...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.