{"id":19776475,"url":"https://github.com/erfansahaf/sdate","last_synced_at":"2026-05-14T00:34:25.359Z","repository":{"id":128864130,"uuid":"48645021","full_name":"erfansahaf/SDate","owner":"erfansahaf","description":"A PHP class for convert gregorian date to jalali (Shamsi) date with Codeginiter3 integration","archived":false,"fork":false,"pushed_at":"2018-04-11T11:05:18.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T12:05:36.158Z","etag":null,"topics":["codeigniter","jalali","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erfansahaf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-12-27T12:55:39.000Z","updated_at":"2017-10-16T06:06:14.000Z","dependencies_parsed_at":"2023-05-13T16:30:51.507Z","dependency_job_id":null,"html_url":"https://github.com/erfansahaf/SDate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/erfansahaf/SDate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfansahaf%2FSDate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfansahaf%2FSDate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfansahaf%2FSDate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfansahaf%2FSDate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erfansahaf","download_url":"https://codeload.github.com/erfansahaf/SDate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfansahaf%2FSDate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33004973,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"ssl_error","status_checked_at":"2026-05-13T13:14:51.610Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["codeigniter","jalali","php"],"created_at":"2024-11-12T05:20:08.603Z","updated_at":"2026-05-14T00:34:25.328Z","avatar_url":"https://github.com/erfansahaf.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# (S)hamsi (Date)\n\nThis is an easy php class that can convert ` Gregorian ` date to ` Jalali ` (Shamsi) date by using [JDate] (http://jdf.scr.ir/rahnama/?t=jdate) php functions\n\u003e **You can use this class in your Codeigniter project or your Pure codes by following instructions:**\n\n## Use in Codeigniter 3\n\nfor use in **Codeginiter 3** framework, you must copy SDate.php to `Application/libraries/SDate.php` path and push it into `$autoload['libraries']` array:\n\n**application/config/autoload.php**\n```php\n$autoload['libraries'] = array(\"sdate\");\n```\nalso you can load this class in **your controller** instead define in autoload file:\n```php\n$this-\u003eload-\u003elibrary('sdate');\n```\nafter load the class, you can access to SDate public methods and jdate functions by following line:\n```php\n$this-\u003esdate-\u003eSOME_METHOD();\n```\n## Use in Pure codes\n\nIt's very simple! just include SDate.php class and create an object from it:\n```php\ninclude 'SDate.php';\n\n$sdate = new SDate();\n$sdate-\u003eSOME_METHOD();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferfansahaf%2Fsdate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferfansahaf%2Fsdate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferfansahaf%2Fsdate/lists"}