Comments (15)
@Gregwar Would be great if you could merge the above, that looks like all that is needed at the moment.
from captcha.
I also forked this to https://github.com/diversen/Captcha
It just fixes the issues #100
Which means that it will work on php8.1 (at least in my use-case)
from captcha.
I see, it drifted too much
I will try to find a slot to ensure that this is compatible with 8.0 / 8.1 at least (and doesn't break Sf bundle as well)
from captcha.
Hello,
I am not sure to understand your bullet points:
- and 2) are just workflow/packaging things, how does it prevent PHP from working with PHP8 ?
- is merged already, 4) is fixed
I also tagged v1.2.1
to ensure composer re-packaging
from captcha.
I did a little more than that 😀
from captcha.
Hello,
@S1SYPHOS would you mind reflecting your changes here ?
I am sorry I only have little time to maintain this repository, I am ok with other people taking care 🙂
from captcha.
@Gregwar Sorry for my late reply, but here goes:
First of all, I fixed #60, #80, #84, #91 and #100 and applied PRs #74, #89, #92, #95 and #101. While doing so, I refactored a lot of code and added full support for PHP8. Most changes are listed below the first v2 beta release, see here.
Later on, I added features like "background noise" (using small random letters), custom fonts and optional support for tesseract-ocr
, hex color support was added as well as docstrings and such, writing virtual files when testing, improved (yet still basic) tests .. and just keeping things as DRY as possible 😁
from captcha.
@Gregwar I think at a minimum you can merge the below to cover PHP 8.0 and 8.1 without breaking anything:
from captcha.
@S1SYPHOS Do you plan to create a Symfony Bundle for it? We have issues there and get no response. See Gregwar/CaptchaBundle#231
from captcha.
@blankse I didn't plan to, and frankly I don't think I will, since I don't use Symfony myself. I don't know how to properly setup & test such a plugin, and looking at the PRs and issues on the plugin this seems like quite a lot of work ..
I'm sorry, but that's something @Gregwar would have to take care of.
from captcha.
@Gregwar I can help in a maintenance capacity if you'd like.
from captcha.
If it is still code compatible with the current version (keeps most of BC, especially the Sf bundle), maybe we could change things here directly, would you agree doing that @S1SYPHOS , if I add you to the owners ?
@bytestream are you using the Sf Bundle? Looks like @S1SYPHOS is not using it so maybe we can have another pair of eyes on this matter to keep things compatible 🙂
from captcha.
@bytestream are you using the Sf Bundle?
I'm afraid not. We use Laravel and are using this package directly.
from captcha.
At this point, it's not even close to being compatible 😀 since I'm not using Symfony (never have tbh), I don't know how to test this even if I helped migrate the bundle 😕
from captcha.
@Gregwar do you still want some help with maintenance of this library?
from captcha.
Related Issues (20)
- PHP Deprecated: Implicit conversion from float -- to int loses precision in CaptchaBuilder.php on line 365 HOT 4
- Font licenses HOT 4
- requirements incompatible with php and composer version and require ext-gd * HOT 1
- warning in php8.1 HOT 1
- Deprecation warning in PHP 8.2 HOT 7
- php8.0+ Error:ErrorException:Implicit conversion from float 38.5 to int loses precision HOT 3
- Tag latest commit HOT 1
- transparent background
- Deprecation warning on PHP 8.2.12
- Time to time generated image and phrase have mismatched letter casing HOT 1
- [Feature Request]Add GIF type captcha HOT 2
- Dynamically refresh captcha image
- Call to undefined function imagettfbbox() HOT 2
- Captcha does not work on the first attemp
- Can you implement phrase building and checking without using super globals?
- Is the attribute background useless? HOT 1
- error on php 8. HOT 1
- Hint that "testPhrase" method should be used
- Error when calling build HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from captcha.