questions/web-development/laravel
Hello @kartik, You can't do it by default ...READ MORE
Hello, In app/config/session.php you have: lifetime option that allow you to set session ...READ MORE
Hello, After update do: chmod -R gu+w storage chmod -R ...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, Usually, this is used in Blade ...READ MORE
Hello @kartik, 1.You can create a new route ...READ MORE
Hello @kartik, If your model is filled with ...READ MORE
Hello @kartik, When you try to access a ...READ MORE
Hello @kartik, Just add ->where('id', '[0-9]+') to route where you ...READ MORE
Hello, If you place database config on the database.php file, ...READ MORE
Hello @kartik, your directory path is wrong. You ...READ MORE
Hello @kartik, You can create a .yarnrc file with the ...READ MORE
Hello, In Laravel 5.1 or higher you can ...READ MORE
Hii, You can simply use: $new_collection = $collection->merge($other_collection). Hope it ...READ MORE
Hello @kartik, First Create seeder with artisan: php artisan make:seeder ...READ MORE
Hello @kartik, You may rename the test folder ...READ MORE
Hii, You can also tell Laravel you want ...READ MORE
Hello @kartik, When you define this route: Route::get('events/{id}/remind', [ 'as' ...READ MORE
Hello @kartik, Try using this code: public function up() ...READ MORE
Hello, Route::getRoutes() returns a RouteCollection. On each element, you can ...READ MORE
Hello, You need to customize the request $data = ...READ MORE
Hello @kartik, You can use this type of ...READ MORE
Hello @kartik, You can use less code, writing ...READ MORE
Hello @kartik, There has been a couple of ...READ MORE
Hello @kartik, Simply,we can use Model::whereNotNull('sent_at'); Or Model::whereRaw('sent_at is not null'); Thank ...READ MORE
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
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.