Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel 10 #187

Open
anatolistoev opened this issue Feb 16, 2023 · 5 comments
Open

Laravel 10 #187

anatolistoev opened this issue Feb 16, 2023 · 5 comments

Comments

@anatolistoev
Copy link

anatolistoev commented Feb 16, 2023

Hello,
are you planning support for Laravel 10 soon. :)

@hlohrenz
Copy link

Looking into this as well as I was updating my entire project, but can't due to this package.

@anatolistoev
Copy link
Author

Same for me, I updated and found alternatives to everything except mews/purifier. So I hope for a quick response :)

@Maximus1000
Copy link

Is there a workaround to allow composer to install for L10? flag -w doesn't seem to do it. Anyone using another package?

@SirajCse
Copy link

just create a folder like vendor-offline/purifier and store downloaded package file then change composer file that your need 

in my case for laravel 10 
1. vendor-offline/purifier/composer.json

"require": {
"php": "^8.0",
"illuminate/config": "^5.8|^6.0|^7.0|^8.0|^9.0|^10.0",
"illuminate/support": "^5.8|^6.0|^7.0|^8.0|^9.0|^10.0",
"illuminate/filesystem": "^5.8|^6.0|^7.0|^8.0|^9.0|^10.0",
"ezyang/htmlpurifier": "^4.16"
},
"require-dev": {
"phpunit/phpunit": "^8.0|^9.0|^10.0",
"mockery/mockery": "^1.4.4",
"graham-campbell/testbench": "^3.2|^5.5.1|^6.0.0"
},

2. laravel composer.json 

"repositories": [
{
"type": "path",
"url": "vendor-offline/purifier",
"options": {"symlink": true}
}
],

"require": {
"mews/purifier": "@dev"
}

if already vendor/purifier folder this package remove first
and run command 

`composer update`

This Trick work for all package

@txdFabio
Copy link
Contributor

It's been corrected with this PR: #186 which has been merged to master but not already tagged as a new release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants