Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

PetroGromovo's avatar

What can I use instead of fruitcake/laravel-cors for api backend site ?

I making laravel api backend site for vuejs/cli app and I wanted to use https://github.com/fruitcake/laravel-cors package, but I found message :

This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

I suppose is it not good to use it for fresh laravel 10 app ? In my app

        "laravel/framework": "^10.8",
        "php-open-source-saver/jwt-auth": "^2.1"

vuejs/cli has :

        "vue": "^3.2.13",
        "vue-router": "^4.2.4",
        "vuex": "^4.0.2"
        "@babel/core": "^7.12.16",
        "@vue/cli-plugin-babel": "~5.0.0",
        "@vue/cli-service": "~5.0.0",

Which library have I to use on my laravel site ?

Thanks in advance!

0 likes
1 reply

Please or to participate in this conversation.