
Web Dev, PHP enthusiast. OS PHP packages: @crwlrsoft |Β https://xitter.cf/t.co/a7vDKFCVDK Web Crawling and Scraping @crwlio | https://xitter.cf/t.co/jvASeDXIWP mastodon: @otsch@phpc.social
Linz, Γsterreich
Joined March 2009
- Tweets2.9K
- Following1.1K
- Followers512
- Likes19.3K
Replying to @moreyh @LiamHammett
Great! Let's do it!
Replying to @LiamHammett @moreyh
That's true, I mostly think in the scraping context, where DOM manipulation isn't really necessary, but also once had a use case where I wanted to do it. Nice package! π
Replying to @moreyh @LiamHammett
This github.com/simplehtmldom/sim�
I don't really know it, but sounds like the symfony DomCrawler component would have been a better option instead.
You could even use crwl.io instead π
Otsch (@otsch.codes at bluesky) π¨π»βπ¦°π¨βπ» retweeted
PHP 8.4 just dropped! π₯³ππͺ
php.net/releases/8.4/en.php
Great release page! Well done!
Already added running tests on 8.4 in CI, so all crwlr packages should be ready for the upgrade! πͺπ
Wow, so many people finally joining bluesky. If you're also one of them: bsky.app/profile/otsch.bsky.β¦ ππ
Otsch (@otsch.codes at bluesky) π¨π»βπ¦°π¨βπ» retweeted
PHPStan 2.0 is here! After three years and tons of releases, weβve taken PHP analysis to a whole new level.
Plus, it comes with a brand new member of the elephpant family you can pre-order today!
Hereβs whatβs new and why I think youβll love it: ππ§΅
Otsch (@otsch.codes at bluesky) π¨π»βπ¦°π¨βπ» retweeted
I've got a few elePHPants to give away again! π₯°
Like π & Retweet π to win one π₯
I have several to give away, and will be picking a winner next week! π
Trying PHP 8.4 for the first time today. Already love the new DOM features. Especially natively having CSS Selectors βΊοΈπ«Ά
I'll also immediately start to make all @crwlrsoft packages fit for PHP 8.4! πͺ
I even built another package for working with query strings, that the url package uses. The query-string package also became a dependency of bref, the framework for serverless PHP apps.
crwlr.software/packages/querβ¦
Replying to @stevebauman
Hey Steve, I built a package for this:
github.com/crwlrsoft/url
It comes with a lot of further neat functionality:
* you can resolve relative references against URLs
* you can get not only the host name, but also the registrable domain (uses mozilla public suffix list)
* ...
Intuitively I'd prefer to just add an import (/use) for the FQN of a class, in any case by default, but it seems there is no setting to achieve this.
Wonder why...do most people prefer the version in the image?
2/2
0%Version in image
100%Would prefer import
3 votes β’ Final resultsJust had a discussion on our PHPeople Austria Discord Server about this example in @phpstorm
When already using the Bar class, the default behavior seems to be that Quz is used like this (Bar\Baz\Quz) instead of adding another use statement.
1/2
Replying to @AshAllenDesign @lara_devs
Absolutely enjoyed it! π
Keep up the great work, looking forward to future episodes! πͺππΏ
Otsch (@otsch.codes at bluesky) π¨π»βπ¦°π¨βπ» retweeted
Already added the first new feature in v2:
Post browser navigate hooks.
When using the headless browser for loading, you can now interact with the browser after a page was loaded, before reading the state of the HTML source.
crwlr.software/packages/crawβ¦
ππͺ
Replying to @AshAllenDesign
Just listened to it and happy that my profile is still part of @lara_devs π
πͺπ»
Release Day! π₯³π
Itβs release day! π₯³ v2.0 of the crawler package is finally out! ππͺπ»
A lot of work went into removing deprecated 1.x features. Now we can focus on new features and improvements again!
Check out the detailed upgrade guide here: crwlr.software/packages/crawβ¦
Thanks to the laravel + PHP meetup in Vienna yesterday, our PHPeople Austria Discord has grown again! π€©
If you also wan't to, come and join us! π€
discord.gg/e9c7ENxJ
Thanks @_florianbauer, @nuernberger_me, Christian and Stefan ππ»
It's that time of the year again! ππ¨βπ»π»π€
hacktoberfest.com/







