I created an Laravel API. First, it was using HTTP, I needed to change it to use https. So I created an account on Cloudflare and since then when I go to my API endpoints: GET: https://www.traapp….
Tag: laravel
laravel log system with logstash
I have a laravel application that I want to store my logs into my logstash and see them in kibana i searched a lot over the net to find a solution for it but I didnt find any good source for it, is there any package to use laravel logs into logstash ??? by the way I have my logstash
Transforming scraper class code into Laravel command
I want to convert a website scraper that I made in basic PHP, which is working fine, to Laravel. My question is, how to accomplish this? A friend of mine told me something about php artisan make:command, but I never used this before and neither did he. Can you give me some pointers on how to use this? Any hel…
How to configure API key & API secret in Laravel?
I have been working on a Laravel project that provides online education to students. I wanted to use Zoom services of video conferencing so that the teacher can connect with their students through video conference. Following the API reference documentation, I have registered an app with Zoom. I got an API key…
Artisan command notification to all users gives BadMethodCallException
How can I create an artisan command to send a database notification to all users in the system containing information of how long they have been in the system for? My SendEmails Command looks like the following: Then I created the notifications table, migrated and the code is the below: User.php: When I run t…
404: file not found. Laravel failed to load home.blade.php file
I’m new to the Laravel framework, so I’m following this tutorial, cloning instagram. After designing the front end, all was going well, until I started working with php artisan. I have created the …
Laravel passport prevent user to login together with the same credential
I was using Laravel Passport to allow my mobile to call laravel api for using laravel authentication. I found a problem recently which is laravel passport allow the same user to login from multiple devices. Is there any solution for me to prevent the same user to login with other devices at the same time? I h…
Updates to Laravel route file have no effect
I am trying to create a view to display data from the database but I discovered that my route file doesn’t do anything anymore. At the moment I am trying to get the test function working but when I go to /test it just says “Page not found”. The other routes work. Even if I delete all of the …
Laravel 5.7 unable to load `storage/framework/cache/data` and write into `./storage/logs/laravel-2019-06-11.log`
I have a project under laravel 5.7 installation and for some reason I get the following error: In order to mitigate the error I tried the following: Permission Based tries: artistan based attempts: php-fpm default user settings: Also for the development I use vagrant with the following Vagrantfile located at …
Laravel – No emails sending using mailgun
Server: Digital Ocean Ubuntu 16.04 Laravel 5.8 I cannot get email to send out of laravel using mailgun.com In Digital Ocean I have all outgoing ports open on the firewall, I have the correct DNS settings in Digital ocean for TXT and MX records. I have the correct and verified DNS records on my domain registar…