questions/web-development/laravel/page/2
Hello, To do the same as mail() PHP ...READ MORE
Hello @kartik, If your model is filled with ...READ MORE
Hello @kartik, You can't do it by default ...READ MORE
Hello @kartik, You can calculate the distance in ...READ MORE
Hello @kartik, The cleanest way to know the ...READ MORE
Hello, You can override the static label method ...READ MORE
Hello @kartik, Delete an existing Model $user = User::find(1); $user->delete(); Deleting ...READ MORE
Hello @kartik, You can generate parentheses by passing ...READ MORE
Hello @kartik, You can simply use: Artisan::output() READ MORE
Hello @kartik, You can use this type of ...READ MORE
Hello @kartik, You can update the cache object ...READ MORE
Hello @kartik, When you try to access a ...READ MORE
Hello @kartik, You create realtionship between both table friend and user in ...READ MORE
Hello, Make directory for images in myapp/public/images and ...READ MORE
Hello @kartik, You can pass the route parameters ...READ MORE
Hello @kartik, your directory path is wrong. You ...READ MORE
Hello @kartik, Just add ->where('id', '[0-9]+') to route where you ...READ MORE
Hello @kartik, To fix the Laravel error 419 session ...READ MORE
Hello @kartik, you can use json_decode function foreach (json_decode($response) as $area) { ...READ MORE
Hello @kartik Go to config/auth.php and change App\User:class ...READ MORE
Hello @kartik, First, if you want to have ...READ MORE
Hello @kartik, You could use this: $reserves = DB::table('reserves')->selectRaw('*, ...READ MORE
Hello @kartik, There has been a couple of ...READ MORE
Hello, If you are using a QUEUE_DRIVER diferent to sync and you ...READ MORE
Hello @kartik, Use middleware for this purpose and ...READ MORE
Hello, You need to customize the request $data = ...READ MORE
Hello @kartik, Try using this code: public function up() ...READ MORE
Hello @kartik, Use public_path() For reference: // Path to the project's ...READ MORE
Hello @kartik, Your route is: Route::patch('users/update', 'UsersController@update'); replace your route ...READ MORE
Hii, You can also tell Laravel you want ...READ MORE
Hello @kartik, You may rename the test folder ...READ MORE
Hello @kartik, try using nullable as a rule 'password' ...READ MORE
Hii, You can simply use: $new_collection = $collection->merge($other_collection). Hope it ...READ MORE
Hello, Use which php in the terminal to see which ...READ MORE
Hello @kartik, Simply,we can use Model::whereNotNull('sent_at'); Or Model::whereRaw('sent_at is not null'); Thank ...READ MORE
Hello, In Laravel 5.1 or higher you can ...READ MORE
Hello @kartik, You can create a new storage ...READ MORE
Hello, You can try to login the user ...READ MORE
I am using react routers within Laravel ...READ MORE
Hello, $subdomain is injected in the actual Route callback, it is ...READ MORE
Hello @kartik, First Create seeder with artisan: php artisan make:seeder ...READ MORE
Hello @kartik, You can use: Request::url() to obtain the current ...READ MORE
Hello @kartik, When you define this route: Route::get('events/{id}/remind', [ 'as' ...READ MORE
Hello, If you place database config on the database.php file, ...READ MORE
Hello @kartik, You can create a .yarnrc file with the ...READ MORE
Hello, Route::getRoutes() returns a RouteCollection. On each element, you can ...READ MORE
Hello @kartik, Press Ctrl + Shift + ESC. Locate the php process running ...READ MORE
Hello @kartik, Firstly create an object, Then set ...READ MORE
Hello @kartik, You need to give the full ...READ MORE
Hii, I got this problem too. I have ...READ MORE
OR
Already have an account? Sign in.