I am Trying to set fb messenger bot in Laravel 8 But it show show the error of The URL couldn’t be validated. in the Facebook Developer page. What I am trying is <?php namespace AppHttpControllers; use IlluminateHttpRequest; use pimaxFbBotApp; use pixmaxMessagesMessage; class MessagerController extends Controller { public function index(Request $request) { if ($request->hub_verify_token === ..
Category : laravel
I keep getting this error when I try to make an API call on my laravel App. v8 $uploadedImage = $request->image->store(‘watermark’); $photo = fopen($uploadedImage, ‘r’); $response = Http::withHeaders([ ‘content-type’ => ‘multipart/form-data’, ])->withOptions([ ‘debug’ => true, ])->attach( ‘image’, $photo, $uploadedImage )->post(‘http://dummyapiwebsite.com/’); dd($response) Sourc..
I need suggestions how to make this work. I want to customize Laravel 8 Jetstream authentication. My project works like this. Once a new user is added, a random password is to be generated. When that user first logs in with that system generated password, it will ask the user to change the password. Flow ..
I am a beginner in PHP and Laravel and I am making an application on my local machine, however, when I am pushing this project onto a server, the CSS and JS do not show… in other words, the site is only showing html, which looks horrible. Is there any way to show the CSS ..
I Have a laravel project with API. Now I want to integrate image protection like if users login then that user image url can access otherwise not. If Any Users can copy URL and past in image url in the browser then if users have login with My web then see my images otherwise user ..
I’m getting this error when I run PHP artisan serve command. I also tried to install composer again but getting another error [RuntimeException] Could not scan for classes inside "E:PROJECTSelectrostorevendor/sebastian/type/src/" which does not appear to be a file nor a folder Sourc..
i have problem when joining my tables the error says Undefined variable: spps $siswas = DB::table(‘siswa’) ->join(‘kelas’, ‘siswa.id_kelas’, ‘=’, ‘kelas.id_kelas’) ->join(‘spp’, ‘spp.id_spp’, ‘=’, ‘siswa.id_spp’ ) ->get(); $kelass = DB::table(‘kelas’)->get(); return view(‘admin.data_siswa’,compact(‘siswas’,’kelass’)); $spps = DB::table(‘spp’, ‘kelas’)->get(); return view(‘admin.data_siswa’,compact(‘siswas’,’spps’)); } i dont know how to defining the spp table, any one please suggest me idea Source: Ask ..
I’m working with Laravel 8 to develop my project which is an Online Forum. And here is my route to / uri: Route::get(‘/’, function () { $threads = AppModelsThread::paginate(15); return view(‘welcome’, compact(‘threads’)); }); And at welcome blade: @section(‘content’) @include(‘thread.partials.thread-list’) @endsection And at thread-list, I added this: @forelse($threads as $thread) Posted by <a href="{{route(‘user_profile’,$thread->user->name)}}">{{$thread->user->name}}</a> {{$thread->created_at->diffForHumans()}} @endforelse ..

I’ve been following the reference below and I’ve already implement this on my project, but the problem is I want to change the loading from spinner into dots or bars. Currently I have this output which is the default spinner. It would be great if anybody could figure out, thank you so much in advance!. ..
i am using pusher sdk with out laravel-echo in laravel websockets i am able to subscribe channel but listening events functionality is not working below is my code which i am using for front end <script>var module = { };</script> <script src="https://js.pusher.com/4.3/pusher.min.js"></script> <script> var pusher = new Pusher("123123", { wsHost: window.location.hostname, wsPort: 6001, disableStats: true, ..