coderello / laravel-shared-data

📦 An easy way to share the data from your backend to the JavaScript.
https://coderello.com/docs/laravel-shared-data/1.0/sharing-data
MIT License
321 stars 22 forks source link

Reduce requirements to "illuminate/support" #2

Closed klimov-paul closed 5 years ago

klimov-paul commented 5 years ago

At the present state package requires installation of the entire Laravel framework in 'composer.json':

"require": {
        "laravel/framework": "5.5.*|5.6.*|5.7.*|5.8.*",
        ...
    },

This is an overhead, since package does not require all parts of Laravel to function. This restricts package usage for the custom framework builds.

I suggest to change requirements to "illuminate/support" only:

"require": {
        "illuminate/support": "5.5.*|5.6.*|5.7.*|5.8.*",
        ...
    },