File: project.php namespace Project; class Table { public static function get() { echo "Project.Table.Get\n"; } } File: app.php namespace App; include "project.php"; use Project\Table as ProjectTable; class Table { public static function get() { echo "App.Table.Get\n"; } } ProjectTable::get();