Highchart set data value from array 2 dimension in function paramater Laravel 6

Hallo its my first time to use highcharts & laravel 6, i want to make value data from database, in array 2 dimension. first i make function for convert datetime to timestamp function convertTime(date) { var year = date.split(“-“)[0], month = date.split(“-“)[1], second_part = date.split(“-“)[2], day = second_part.split(” “)[0], last_part2 = second_part.split(” “)[1], hour =…

How Can I Use ONLY Slug For Categories, Posts and Pages at the same time in Laravel

I’m trying to code a CMS with laravel. I want to use slug for categories, pages and for posts at the same time. Posts: www.domain.com/slug Categories: www.domain.com/slug Pages: www.domain.com/slug Controller Page: public function categories($slug) { $settings = Settings::find(1); $categories = Categories::where(‘slug’, ‘=’, $slug)->first(); $posts = Posts::where(‘category’, ‘=’, $categories->id)->get(); return view(‘web.’.$settings->template.’.category’,compact(‘posts’,’categories’)); } public function posts($slug) {…

Demographic and Interest (spatie/laravel-analytics)

How can I get the Demographic and Interest with (spatie/laravel-analytics) package ? The documentation is weak and I get this error: {“error”:{“errors”:[{“domain”:”global”,”reason”:”badRequest”,”message”:”Unknown metric(s): ga:userGender\nFor details see https://developers.google.com/analytics/devguides/reporting/core/dimsmets.”}],”code”:400,”message”:”Unknown metric(s): ga:userGender\nFor details see https://developers.google.com/analytics/devguides/reporting/core/dimsmets.”}}

Where to find the password reset mailable in laravel

I want to use the reset password mailable in my project because the admin is the one creating users for me, What am I suppose to do to use the password reset mailable in this controller public function store(Request $request) { $validatedData = $request->validate([ ‘address_id’ => ‘required’, ‘name’ => ‘required|string|max:255′, ’email’ => ‘required|string|email|max:255|unique:users’, ‘POBox’ =>…