AI for PHP Developers (examples)
AI for PHP
EN
RU
Introduction
•
Getting Started
•
ML Ecosystem in PHP
Part I. The Mathematical Language of AI
•
What is a model
•
Vectors, dimensions and feature spaces
•
Distances and similarity
Part II. Learning as Optimization
•
Error, loss functions, and why they are needed
•
Linear regression as a basic model
•
Gradient descent on fingers
Part III. Classification and probabilities
•
Probability as degree of confidence
•
Logistic regression
•
Why Naive Bayes works
Part IV. Proximity and data structure
•
The k-nearest neighbors algorithm and local solutions
•
Decision Trees and space partitioning
Part V. Text as mathematics
•
Why do words turn into numbers
•
Bag of Words and TF–IDF
•
Embeddings as continuous spaces of meaning
•
Transformers and context: from static vectors to understanding meaning
•
Tokens, context windows, and chunking: how LLM sees text
•
Named Entity Recognition (NER) - extracting entities from text
•
Hands-on: embeddings in PHP with transformers
•
RAG: Retrieval-Augmented Generation as an engineering system
Part VI. Neural Networks and Data Mining
•
Perceptron and fully connected network
•
Backpropagation – why it works
•
Convolutional neural networks (CNN)
Part VIII. Agent Systems and Orchestration
•
MCP server in PHP
Home
Part VIII. Agent Systems and Orchestration
MCP server in PHP
MCP server in PHP
Understanding MCP and its architecture
Creating an MCP server in PHP
Case 1. Providing access to PHP application development tools via MCP