catfan / Medoo

The lightweight PHP database framework to accelerate the development.
https://medoo.in
MIT License
4.83k stars 1.15k forks source link

Fatal error: Uncaught Error: Class "Medoo\Medoo" not found in Project_Asset_Management+Ticket\includes\loader.php:39 #1106

Closed KuugaYuuto closed 9 months ago

KuugaYuuto commented 9 months ago

Hello, I recently created a project to try out Medoo for the first time but I got the error as shown in the title even I do like guidebook. Can you help me fix it? Here is my project. I would be very grateful and appreciative if you would fix it for me!

catfan commented 9 months ago

You are not using Composer to load the package.

So you have to include the file of medoo.php into your project.

require  PATH_OF_YOUR_PROJECT . '/Medoo.php';