questions/web-development/laravel
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
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
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.