<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/phplinq-version-0-2-0-released--nfayubibi" -->

---
title: PHPLinq version 0.2.0 released! | daily.dev
description: PHPLinq version 0.2.0 brings LINQ-style querying to PHP, mimicking the .NET Language Integrated Query feature. The library uses a PHPLinq_Initiator class and...
canonical: https://daily.dev/posts/phplinq-version-0-2-0-released--nfayubibi
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: PHPLinq version 0.2.0 released! | daily.dev
og:description: PHPLinq version 0.2.0 brings LINQ-style querying to PHP, mimicking the .NET Language Integrated Query feature. The library uses a PHPLinq_Initiator class and...
og:url: https://daily.dev/posts/phplinq-version-0-2-0-released--nfayubibi
og:image: https://api.daily.dev/og/posts/nfAYUBIbi.png
og:image:alt: PHPLinq version 0.2.0 released!
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# PHPLinq version 0.2.0 released!

**[Maarten Balliauw](https://daily.dev/sources/maartenballiauw)** · 2 min read · 0 upvotes · 0 comments

## Summary

PHPLinq version 0.2.0 brings LINQ-style querying to PHP, mimicking the .NET Language Integrated Query feature. The library uses a PHPLinq_Initiator class and pluggable PHPLinq_ILinqProvider implementations, with an array provider included in this release. Examples show filtering by type, checking conditions with any(), and querying an RSS feed with ordering, take, and anonymous-type projection. The post also references similar LINQ implementations for other languages, JSLINQ for JavaScript and LINQ to JSON for C#.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.maartenballiauw.be/posts/2008-03-04-phplinq-version-020-released>

## Questions this post answers

### How do I query a PHP array using LINQ-style syntax with PHPLinq?

PHPLinq 0.2.0 lets you query PHP arrays using a from()->in()->select() syntax similar to .NET LINQ. For example, from('$employee')->in($employees)->ofType('Employee')->select() filters an array to only Employee objects. The library also supports any() for boolean checks and orderByDescending(), take(), and select() with anonymous types for more advanced queries like filtering and sorting RSS feed items.

_Developers exploring LINQ-style query patterns in PHP can track library updates like this on daily.dev._

### What LINQ implementations exist outside of .NET for other languages?

Besides PHPLinq for PHP, there are LINQ-style implementations for other languages: JSLINQ brings LINQ-like querying to JavaScript, and LINQ to JSON provides similar querying capabilities for JSON data in C#. These projects apply the same query-and-filter philosophy from .NET's LINQ to their respective language ecosystems.

_Developers comparing query-style libraries across languages can follow these projects on daily.dev._

## Similar posts on daily.dev

- [LINQ in C\#](https://daily.dev/posts/linq-in-c--eoxkvhpkr) · C\# Corner · 36 upvotes · 2 comments
- [One Language to Rule Them? LINQ, Abstraction, and What's Next](https://daily.dev/posts/one-language-to-rule-them-linq-abstraction-and-what-s-next-mon8r0q6p) · We Are .NET · 29 upvotes · 2 comments

---

Tags: [#php](https://daily.dev/tags/php), [#.net](https://daily.dev/tags/.net)

[View this post on daily.dev](https://daily.dev/posts/phplinq-version-0-2-0-released--nfayubibi)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"PHPLinq version 0.2.0 released!","url":"https://daily.dev/posts/phplinq-version-0-2-0-released--nfayubibi","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/phplinq-version-0-2-0-released--nfayubibi"},"datePublished":"2026-10-04T13:05:09.229Z","dateModified":"2026-10-04T13:11:48.754Z","description":"PHPLinq version 0.2.0 brings LINQ-style querying to PHP, mimicking the .NET Language Integrated Query feature. The library uses a PHPLinq_Initiator class and...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/758e04a09ed3b774747e5f12963f3e24?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/758e04a09ed3b774747e5f12963f3e24?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Maarten Balliauw","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Maarten Balliauw","logo":"https://media.daily.dev/image/upload/s--rOTg3VYO--/f_auto,q_auto/v1791119043/logos/maartenballiauw?_a=BAMAMicg0","url":"https://daily.dev/sources/maartenballiauw"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/phplinq-version-0-2-0-released--nfayubibi","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"php,.net","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Maarten Balliauw","item":"https://daily.dev/sources/maartenballiauw"},{"@type":"ListItem","position":3,"name":"PHPLinq version 0.2.0 released!"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/phplinq-version-0-2-0-released--nfayubibi#faq","mainEntity":[{"@type":"Question","name":"How do I query a PHP array using LINQ-style syntax with PHPLinq?","acceptedAnswer":{"@type":"Answer","text":"PHPLinq 0.2.0 lets you query PHP arrays using a from()->in()->select() syntax similar to .NET LINQ. For example, from('$employee')->in($employees)->ofType('Employee')->select() filters an array to only Employee objects. The library also supports any() for boolean checks and orderByDescending(), take(), and select() with anonymous types for more advanced queries like filtering and sorting RSS feed items. Developers exploring LINQ-style query patterns in PHP can track library updates like this on daily.dev."}},{"@type":"Question","name":"What LINQ implementations exist outside of .NET for other languages?","acceptedAnswer":{"@type":"Answer","text":"Besides PHPLinq for PHP, there are LINQ-style implementations for other languages: JSLINQ brings LINQ-like querying to JavaScript, and LINQ to JSON provides similar querying capabilities for JSON data in C#. These projects apply the same query-and-filter philosophy from .NET's LINQ to their respective language ecosystems. Developers comparing query-style libraries across languages can follow these projects on daily.dev."}}]}
```

