<?php
// packages/geoloqi/classes/sdk.php
namespace Geoloqi;
require_once realpath(__DIR__ . '/../library/geoloqi.php');
class_alias('\Geoloqi', 'Geoloqi\SDK');
My only concern that library class still available in global namespace, but I don't see a way to fix that without using eval. It looks like you're new here. If you want to get involved, click one of these buttons!