addworking/laravel-class-finder

A class finder for Laravel based on Composer's class loader

v3.0.0 2020-11-06 17:04 UTC

This package is auto-updated.

Last update: 2024-12-07 02:15:21 UTC


README

ClassFinder::classToPath(App\Models\User::class); // app/Models/User.php
ClassFinder::pathToClass(app_path('Models/User.php')); // App\Models\User