What best practices should be followed when defining namespaces in PHP?

When defining namespaces in PHP, it is important to follow best practices to ensure clean and organized code. Namespaces should be clear, descriptive, and follow a consistent naming convention to avoid conflicts with other namespaces. It is also recommended to use the PSR-4 autoloading standard for efficient class loading.

<?php

namespace Vendor\Package;

class MyClass
{
    // class implementation
}