PHP

PHP is a widely-used server-side scripting language known for its versatility in web development and integration with databases.

Introduction to OOP in PHP

In this first article of the "Mastering OOP in PHP series", you'll learn the basics of OOP, setting up your PHP environment, creating classes and objects, and why OOP is essential. Bake some cakes, dive into real-world analogies, and explore the power of OOP with practical examples.

November 7, 2023

Machine Learning with TransformersPHP: Automatically Tagging Posts in Laravel

In this tutorial, I will be demonstrating using TransformersPHP to perform one of the most common Natural Language Processing (NLP) tasks - zero shot text classification. There are so many examples and applications of this task, like sentiment analysis for comments, spam detection, ticket classification, etc. But for this tutorial, I chose to show how to use it in Laravel with a simple example - automatically tagging posts. It might not exactly be the most practical example, but it's a good starting point to demonstrate the power of TransformersPHP.