Skip to content

Namespace and Directory Restructuring #8

@ImperaZim

Description

@ImperaZim

Namespace and Directory Restructuring

EasyLibrary 2.0 simplifies the project layout by flattening the namespace hierarchy. We removed the old nested directories (imperazim/components, imperazim/vendor, etc.) and placed all library code directly under imperazim. This change makes the namespace and folder structure much cleaner.

Important

Flat Namespace: There are no longer separate components or vendor subdirectories within imperazim. All Imperazim modules and packages are now at the imperazim/* level, while external libraries reside under the top-level vendor/ directory.

The directory mappings for existing code are:

  • imperazim/components/* → imperazim/*
  • imperazim/vendor/* → vendor/*
  • imperazim/bugfixes/* → loader/*

This restructuring ensures that namespace declarations directly mirror the directory structure, improving clarity and reducing confusion over where classes are located. Each component’s namespace now starts with imperazim\ (or vendor\ for external packages), reflecting a straightforward, flat architecture.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions