Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'd probably break them all down into classes based on function (EasyString, EasyNumber, BuiltIn).

    namespace App\Library;
    class EasyString {
        public static function starts_with();
        ...
    }
and then just use them like this:

    use App\Library\EasyString as ES;
along with an autoloader.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: