{"id":16397178,"url":"https://github.com/unreal4u/u4u-classes","last_synced_at":"2025-10-24T20:42:37.170Z","repository":{"id":5749151,"uuid":"6961727","full_name":"unreal4u/u4u-classes","owner":"unreal4u","description":"My own personal classes","archived":false,"fork":false,"pushed_at":"2013-09-10T21:00:17.000Z","size":812,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"classes-with-namespacing","last_synced_at":"2025-01-04T17:44:26.275Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"JanzTam/MyGithubMark","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unreal4u.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-12-02T01:02:15.000Z","updated_at":"2014-05-03T23:41:10.000Z","dependencies_parsed_at":"2022-09-06T04:01:35.278Z","dependency_job_id":null,"html_url":"https://github.com/unreal4u/u4u-classes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unreal4u%2Fu4u-classes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unreal4u%2Fu4u-classes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unreal4u%2Fu4u-classes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unreal4u%2Fu4u-classes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unreal4u","download_url":"https://codeload.github.com/unreal4u/u4u-classes/tar.gz/refs/heads/classes-with-namespacing","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240286519,"owners_count":19777353,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T05:09:23.153Z","updated_at":"2025-10-17T03:36:51.357Z","avatar_url":"https://github.com/unreal4u.png","language":"PHP","readme":"README\n==============\n\nu4u-classes\n--------------\n\nu4u-classes is a compilation of classes of unreal4u (Camilo Sperberg) available to general public and usage. Feel free\nto use and modify anything in these classes you want. They have all [BSD licenses](http://en.wikipedia.org/wiki/BSD_licenses).\n\nDisclaimer\n--------------\n\nI'll always will try to maintain basic operation within my classes and ensure that they will do the job they say it does,\nbut use these classes at your own risk! Most of them have been tested (some with PHPUnit test cases) and are already\nbeing used in production websites, but my way of implementing the classes may differ from what you are doing, and in\nthose cases, bugs can originate without me knowing about them. If you want to use my classes, you are free to do so, but\nit is your responsability to test them thoroughly to ensure that they will work in your case scenario!\n\nClasses description\n--------------\n\n* *benchmark_v0.3*: This class can be used to measure times of several variables at the same time. It will also log\n  memory usage for those same variables.\n* *cacheManager_v2.2*: This class will enable you to use APC or file based cache module based on a name and a few\n  arguments. Changing between these cache types is just a matter of changing the constructor call, from\n  `new cacheManager('apc');` to `new cacheManager('your-type');`. You can additionally write your own wrappers, just\n  implement the interface and extend the base class and you're good to go!\n* *CSStacker_v1.4*: A little more updated class. Will be updated soon.\n* *db-mysqli_v4.0.1*: My very own class to do queries to MySQL using the mysqli connector. It can do paramatrized\n  queries and many other things.\n* *debugInfo_v0.2*: Deprecated. See debugInfo_v0.3\n* *debugInfo_v0.3*: Functions that aid me in the development of new functionality. Replacement of old functions.php.\n* *extended-pgsql_v1.1.0*: The postgres implementation for db-mysqli_v3.1.1. Expect very soon a newer improved version!\n  Based on PDO.\n* *HTMLUtils_v1.0*: Outdated class. May or may not be updated in the future.\n* *pid_v1.3*: Class that can check making OS's calls whether we have a valid PID running or not. Works on Windows and\n  Linux.\n* *rutverifier_v1.1*: This class will do all the checks you need in order to validate a chilean RUT or RUN. \n\nHow to use these classes\n--------------\n\nI recommend the following steps: \n* Clone the project: \u003ccode\u003egit clone git://github.com/unreal4u/u4u-classes.git u4u-classes\u003c/code\u003e\n* Include the following file: \u003ccode\u003einclude('u4u-classes/stable-versions.php');\u003c/code\u003e\n* Initialize the autoloader: \u003ccode\u003e$u4uLoader = new u4u\\autoloader();\u003c/code\u003e\n* Now anything you need to do is initializing the class you need: \u003ccode\u003e$database = new db_mysqli();\u003c/code\u003e\n* Recommended however is to initialize the classes you need via the incorporated instantiator: \u003ccode\u003e$database = $u4uLoader-\u003einstantiateClass('db_mysqli');\u003c/code\u003e\n* Use the basename of the class you need to use, the autoloader will automatically load the last stable version of the\n  class for you. \n\nContact\n--------------\n\n* Twitter: [@unreal4u](http://twitter.com/unreal4u)\n* Website: [http://unreal4u.com/](http://unreal4u.com/)\n* Github:  [http://www.github.com/unreal4u](http://www.github.com/unreal4u)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funreal4u%2Fu4u-classes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funreal4u%2Fu4u-classes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funreal4u%2Fu4u-classes/lists"}