You aren’t initializing the class with the correct namespace. If you look at the source files for that package, the class you’re trying to initialize has no namespace. When you try and initialize it as above PHP attempts to concatenate the App namespace, and that doesn’t work. You need to prefix the class with a \ to call it from the root namespace, i.e. \Segment::init('KEY').