My article about potential disaster of using Vibe-Coding
https://www.linkedin.com/feed/update/urn:li:ugcPost:7316569880923660288/
https://www.linkedin.com/feed/update/urn:li:ugcPost:7316569880923660288/
Linkedin
⚠️ Warning: This product includes code written by AI | Samuel Akopyan
👍3🔥3
Scalars, Vectors, Matrices & Tensors — The Language of ML
If you're diving into Machine Learning, don't skip the basics! 💡
Understanding scalars, vectors, matrices, and tensors is crucial — they’re the building blocks of how data is represented and processed.
🔹 Scalar → A single number (like temperature: 36.6)
🔹 Vector → A list of numbers (like pixel values in a grayscale image row)
🔹 Matrix → 2D grid of numbers (like an image with width & height)
🔹 Tensor → Multi-dimensional array (think colored videos with time, RGB, height & width!)
From feeding input to a neural network to backpropagation — it's all tensors under the hood.
Master these, and you're speaking the native tongue of ML models.
You may see the code example for each of these elements:
https://aiwithphp.org/examples/mathematics/index
Read curefully:
https://apphp.gitbook.io/artificial-intelligence-with-php/machine-learning/mathematics-for-ml/linear-algebra
If you're diving into Machine Learning, don't skip the basics! 💡
Understanding scalars, vectors, matrices, and tensors is crucial — they’re the building blocks of how data is represented and processed.
🔹 Scalar → A single number (like temperature: 36.6)
🔹 Vector → A list of numbers (like pixel values in a grayscale image row)
🔹 Matrix → 2D grid of numbers (like an image with width & height)
🔹 Tensor → Multi-dimensional array (think colored videos with time, RGB, height & width!)
From feeding input to a neural network to backpropagation — it's all tensors under the hood.
Master these, and you're speaking the native tongue of ML models.
You may see the code example for each of these elements:
https://aiwithphp.org/examples/mathematics/index
Read curefully:
https://apphp.gitbook.io/artificial-intelligence-with-php/machine-learning/mathematics-for-ml/linear-algebra
apphp.gitbook.io
Linear Algebra | Artificial Intelligence with PHP
👍6
If you're PHP web-developer and looking for ready-to-use applications, like: chars, content or image generators, chat-bots etc. you may find a lot of stuff here:
https://codecanyon.net/category/php-scripts?term=ai
https://www.codester.com/categories/414/ai-software-php
https://codecanyon.net/category/php-scripts?term=ai
https://www.codester.com/categories/414/ai-software-php
CodeCanyon
Ai PHP Scripts | CodeCanyon
Get 284 ai PHP scripts on CodeCanyon such as AI Lead Scoring for Perfex CRM, Website Export Module For Webifly AI, Leo - AI Image & AI Video Generator
👍7
Build your own Neural Network – with PHP!
Perfect explanation from Vitor Brandao with code examples
https://www.youtube.com/watch?v=iC13u7tspyg&t=2079s
Perfect explanation from Vitor Brandao with code examples
https://www.youtube.com/watch?v=iC13u7tspyg&t=2079s
YouTube
Build your own Neural Network – with PHP! | Vitor Brandao
Speaker: Vitor Brandao (Noiselabs Consulting Ltd.) | https://phpconference.com/speaker/vitor-brandao/
Curious about all the hype around machine learning and artificial intelligence? Heard of "neural networks" and "deep learning", but confused about what…
Curious about all the hype around machine learning and artificial intelligence? Heard of "neural networks" and "deep learning", but confused about what…
👍6
Using spaCy with PHP: Natural Language Processing in Your PHP Apps!
Did you know you can harness the power of spaCy (https://spacy.io) - one of Python’s most advanced NLP libraries - even in a PHP project? Here’s how! 👇
This library - spaCy - offers fast and accurate tokenization, named entity recognition, part-of-speech tagging, and more. While PHP isn’t natively built for NLP, you can bridge the gap with Python.
But, your may easily integrate spaCy with PHP
1. Create a Python script
Use spaCy to process text and output results as JSON. Example:
2. Call the script from PHP
That’s it! You now have spaCy-powered NLP inside your PHP app. It's perfect choice for chatbots, content tagging, semantic search, or anything involving language understanding.
Did you know you can harness the power of spaCy (https://spacy.io) - one of Python’s most advanced NLP libraries - even in a PHP project? Here’s how! 👇
This library - spaCy - offers fast and accurate tokenization, named entity recognition, part-of-speech tagging, and more. While PHP isn’t natively built for NLP, you can bridge the gap with Python.
But, your may easily integrate spaCy with PHP
1. Create a Python script
Use spaCy to process text and output results as JSON. Example:
# nlp.py
import spacy
import sys
import json
nlp = spacy.load("en_core_web_sm")
text = sys.argv[1]
doc = nlp(text)
result = {
"tokens": [token.text for token in doc],
"entities": [(ent.text, ent.label_) for ent in doc.ents]
}
print(json.dumps(result))
2. Call the script from PHP
$text = "Elon Musk founded SpaceX in 2002.";
$escapedText = escapeshellarg($text);
$command = "python3 nlp.py $escapedText";
$output = shell_exec($command);
$result = json_decode($output, true);
print_r($result);
?>
That’s it! You now have spaCy-powered NLP inside your PHP app. It's perfect choice for chatbots, content tagging, semantic search, or anything involving language understanding.
spacy.io
spaCy · Industrial-strength Natural Language Processing in Python
spaCy is a free open-source library for Natural Language Processing in Python. It features NER, POS tagging, dependency parsing, word vectors and more.
👍4👏1
Short Video from Andrew DalPino - creator of RubixML (A high-level machine learning and deep learning library for the PHP language.
)
https://www.youtube.com/watch?v=5YtNugpMhyQ
)
https://www.youtube.com/watch?v=5YtNugpMhyQ
YouTube
High Performance PHP
Andrew DalPino talks to the Chicago User Group about high performance PHP.
Today's PHP is a fast and efficient high-level application programming language. Modern additions to the core and ecosystem have allowed PHP engineers to achieve levels of performance…
Today's PHP is a fast and efficient high-level application programming language. Modern additions to the core and ecosystem have allowed PHP engineers to achieve levels of performance…
👍6
New version 0.6 of my book "AI with PHP" is available for reading:
https://apphp.gitbook.io/artificial-intelligence-with-php
Also, you may find more online examples here:
https://aiwithphp.org/examples/
https://apphp.gitbook.io/artificial-intelligence-with-php
Also, you may find more online examples here:
https://aiwithphp.org/examples/
apphp.gitbook.io
Introduction | Artificial Intelligence with PHP
Start your journey into the world of artificial intelligence and machine learning
👍5
If you want to check AI agent platform with cyclic thinking, persistent memory and more...
https://github.com/rnr1721/depthnet
https://github.com/rnr1721/depthnet
GitHub
GitHub - rnr1721/depthnet: Laravel-based autonomous AI agent platform with cyclic thinking, persistent memory and real-time code…
Laravel-based autonomous AI agent platform with cyclic thinking, persistent memory and real-time code execution - rnr1721/depthnet
👍4🥰1
PHP - Oh Really, Tensors?
Extension for PHP, that provides high performance tensor mathematics. It supports a wide range of mathematical operations on tensors, including element-wise computations, reductions, linear algebra functions, and more.
https://github.com/krakjoe/ort
Extension for PHP, that provides high performance tensor mathematics. It supports a wide range of mathematical operations on tensors, including element-wise computations, reductions, linear algebra functions, and more.
https://github.com/krakjoe/ort
GitHub
GitHub - krakjoe/ort: PHP - Oh Really, Tensors?
PHP - Oh Really, Tensors? Contribute to krakjoe/ort development by creating an account on GitHub.
👍5
Adding NER to a PHP Project: What Worked and What Didn’t
https://www.linkedin.com/in/sam-akopyan/
For Russian speaking members:
https://habr.com/ru/articles/948014/
https://www.linkedin.com/in/sam-akopyan/
For Russian speaking members:
https://habr.com/ru/articles/948014/
Хабр
AI для PHP-разработчиков. Часть 1: Как я пытался подружить PHP с NER — драма в 5 актах
Это статья — пример небольшого личного опыта, где я пытался решить одну чисто техническую задачу для одного из моих текущих проектов. Задача в конце‑концов была решена,...
👍6🤨1
Announcing the Official PHP SDK for MCP
The Model Context Protocol (MCP) is an open protocol introduced by Anthropic to enable AI applications to connect with and utilize external tools and data sources, akin to a standardized "USB-C port" for AI systems.
https://thephp.foundation/blog/2025/09/05/php-mcp-sdk/
The Model Context Protocol (MCP) is an open protocol introduced by Anthropic to enable AI applications to connect with and utilize external tools and data sources, akin to a standardized "USB-C port" for AI systems.
https://thephp.foundation/blog/2025/09/05/php-mcp-sdk/
thephp.foundation
Announcing the Official PHP SDK for MCP
The PHP Foundation — Supporting, Advancing, and Developing the PHP Language
👍5
My article about Neuron AI Framwork.
The original article written in Russian, here the link: https://habr.com/ru/articles/960050/
But you may also see it translated in English (just scroll down)
https://habr-com.translate.goog/ru/articles/960050/?_x_tr_sl=ru&_x_tr_tl=en&_x_tr_hl=en&_x_tr_pto=wapp
The original article written in Russian, here the link: https://habr.com/ru/articles/960050/
But you may also see it translated in English (just scroll down)
https://habr-com.translate.goog/ru/articles/960050/?_x_tr_sl=ru&_x_tr_tl=en&_x_tr_hl=en&_x_tr_pto=wapp
Хабр
Мой первый AI-агент на базе Neuron — PHP-агентного фреймворка
Я PHP‑разработчик с многолетним стажем (от слова «много»). Привык, что мой мир — это веб‑приложения, серверный код и бесконечные «фичи» на Laravel или Yii (да... легаси —...
👍6
🚀 New PHP Library Release: PrettyPrint
Just published PrettyPrint, a tiny, zero-dependency PHP utility that formats arrays with clean, Python-like readability — inspired by PyTorch!
✨ Features:
• Callable pretty-printer for numeric arrays
• Aligned 2D table formatting
• 3D tensor with head/tail blocks
• Summarized tensor-style views
• Flexible output options
• Perfect for ML experiments, debugging, logging & teaching
📦 Packagist: https://packagist.org/packages/apphp/pretty-print
Give it a try and make your arrays look awesome! 🎉
Just published PrettyPrint, a tiny, zero-dependency PHP utility that formats arrays with clean, Python-like readability — inspired by PyTorch!
✨ Features:
• Callable pretty-printer for numeric arrays
• Aligned 2D table formatting
• 3D tensor with head/tail blocks
• Summarized tensor-style views
• Flexible output options
• Perfect for ML experiments, debugging, logging & teaching
📦 Packagist: https://packagist.org/packages/apphp/pretty-print
Give it a try and make your arrays look awesome! 🎉
packagist.org
apphp/pretty-print - Packagist
Callable pretty-printer for PHP arrays with Python-like formatting.
👍5
https://dev.to/mark_redding_fb1c365503df/accelerating-php-development-with-cursor-ai-ln1
Mark Redding, a manager at Best Name Badges, has been exploring AI-powered development tools to streamline PHP workflows. Cursor AI has proven to be a game-changer for the team.
Mark Redding, a manager at Best Name Badges, has been exploring AI-powered development tools to streamline PHP workflows. Cursor AI has proven to be a game-changer for the team.
DEV Community
Accelerating PHP Development with Cursor AI
As a manager overseeing projects at Best Name Badges, I've recently been exploring how AI-powered...
👍4
New Repo: Awesome PHP Machine Learning
I’ve just launched awesome-php-ml — a curated list of Machine Learning, AI, and LLM tools for PHP developers.
It covers:
- Machine Learning & Deep Learning
- LLMs, agents & AI APIs
- Math, statistics & vector search
- Tools, model serving & framework integrations (Laravel, Symfony)
- Resources & platforms
- and more
👉 https://github.com/apphp/awesome-php-ml
If you’re building AI with PHP or looking for the best libraries in the ecosystem, check it out ⭐
Contributions welcome!
I’ve just launched awesome-php-ml — a curated list of Machine Learning, AI, and LLM tools for PHP developers.
It covers:
- Machine Learning & Deep Learning
- LLMs, agents & AI APIs
- Math, statistics & vector search
- Tools, model serving & framework integrations (Laravel, Symfony)
- Resources & platforms
- and more
👉 https://github.com/apphp/awesome-php-ml
If you’re building AI with PHP or looking for the best libraries in the ecosystem, check it out ⭐
Contributions welcome!
👍7❤1
If you didn't see this, now is the time to do it.
https://www.youtube.com/watch?v=w542sIZppzE
https://www.youtube.com/watch?v=w542sIZppzE
YouTube
ML inference in PHP by example: leverage ONNX and Transformers on Symfony | SymfonyCon 2024
Curious if you can run powerful AI and Machine Learning models directly with PHP? The answer is yes! In this 30-minute talk, we dive into how you can leverage the power of AI in your PHP applications without relying on Python or external APIs.
Learn about…
Learn about…
👍4❤1
Hey everyone!
Just published a new article: AI for PHP Developers — Practical Use of TransformersPHP!
Dive into how you can bring real AI into your PHP projects without complex infrastructure, using TransformersPHP for tasks like embeddings, classification and semantic search — all right inside your code.
Read it here:
English:
https://medium.com/@leumas.a/ai-for-php-developers-practical-use-of-transformersphp-fa9a2416bafc
Feedback, thoughts, and questions are very welcome!
Russian:
https://habr.com/ru/articles/993966/
Just published a new article: AI for PHP Developers — Practical Use of TransformersPHP!
Dive into how you can bring real AI into your PHP projects without complex infrastructure, using TransformersPHP for tasks like embeddings, classification and semantic search — all right inside your code.
Read it here:
English:
https://medium.com/@leumas.a/ai-for-php-developers-practical-use-of-transformersphp-fa9a2416bafc
Feedback, thoughts, and questions are very welcome!
Russian:
https://habr.com/ru/articles/993966/
Medium
AI for PHP Developers. Practical Use of TransformersPHP
AI in PHP: Not Theory, but a Real Starting Point
👍4🔥4
My new article "From Arrays to GPU — how the PHP ecosystem is moving toward real ML"
In Russian: https://habr.com/ru/articles/1019250/
In English: https://medium.com/@leumas.a/from-arrays-to-gpu-how-the-php-ecosystem-is-moving-toward-real-ml-3e6d661e9abe
In Russian: https://habr.com/ru/articles/1019250/
In English: https://medium.com/@leumas.a/from-arrays-to-gpu-how-the-php-ecosystem-is-moving-toward-real-ml-3e6d661e9abe
Хабр
AI для PHP-разработчиков. Часть 5: От массивов к GPU: как PHP-экосистема приходит к настоящему ML
Почему PHP-массивы плохо подходят для математики, как появились Tensor и NDArray, и зачем RubixML в итоге решил пойти в сторону GPU. Это пятая часть проекта. Часть 4: Практическое использование...
👍7