Skip to content

add ability to autoload when creating a service #37

Description

@spacedevin

instead of something like this:

t::service('User', '\App\User');
t::router()->otherwise(function($User) {

});

User Should automatically determined by the namespace so that that first line is not needed.

Activity

  1. spacedevin commented on Aug 7, 2026

    @spacedevin
    MemberAuthor

    Triaged for Tipsy 2.0 (#57)

    Partial: service('\\App\\User') shortens the registered name to User, but DI still requires an explicit service() registration. True zero-config autoload is not in 2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featuretriagedIssue reviewed against Tipsy 2.0

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions