{"id":22804702,"url":"https://github.com/ezitisitis/laravel-dark-theme-switcher","last_synced_at":"2025-07-16T13:15:47.029Z","repository":{"id":265659039,"uuid":"896369285","full_name":"ezitisitis/laravel-dark-theme-switcher","owner":"ezitisitis","description":"Switcher between light and dark themes for Laravel","archived":false,"fork":false,"pushed_at":"2025-02-03T16:21:48.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T18:47:29.466Z","etag":null,"topics":[],"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/ezitisitis.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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},"funding":{"github":"ezitisitis","buy_me_a_coffee":"ezitisitis"}},"created_at":"2024-11-30T07:08:45.000Z","updated_at":"2025-02-03T16:21:44.000Z","dependencies_parsed_at":"2025-02-05T23:47:37.858Z","dependency_job_id":null,"html_url":"https://github.com/ezitisitis/laravel-dark-theme-switcher","commit_stats":null,"previous_names":["ezitisitis/laravel-dark-theme-switcher"],"tags_count":5,"template":false,"template_full_name":"spatie/package-skeleton-laravel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezitisitis%2Flaravel-dark-theme-switcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezitisitis%2Flaravel-dark-theme-switcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezitisitis%2Flaravel-dark-theme-switcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezitisitis%2Flaravel-dark-theme-switcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ezitisitis","download_url":"https://codeload.github.com/ezitisitis/laravel-dark-theme-switcher/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248766837,"owners_count":21158331,"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-12-12T10:09:07.917Z","updated_at":"2025-07-16T13:15:47.011Z","avatar_url":"https://github.com/ezitisitis.png","language":"PHP","funding_links":["https://github.com/sponsors/ezitisitis","https://buymeacoffee.com/ezitisitis"],"categories":[],"sub_categories":[],"readme":"# Dark Theme Switcher for Laravel\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/ezitisitis/laravel-dark-theme-switcher.svg?style=flat-square)](https://packagist.org/packages/ezitisitis/laravel-dark-theme-switcher)\n[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/ezitisitis/laravel-dark-theme-switcher/run-tests.yml?branch=main\u0026label=tests\u0026style=flat-square)](https://github.com/ezitisitis/laravel-dark-theme-switcher/actions?query=workflow%3Arun-tests+branch%3Amain)\n[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/ezitisitis/laravel-dark-theme-switcher/fix-php-code-style-issues.yml?branch=main\u0026label=code%20style\u0026style=flat-square)](https://github.com/ezitisitis/laravel-dark-theme-switcher/actions?query=workflow%3A\"Fix+PHP+code+style+issues\"+branch%3Amain)\n[![Total Downloads](https://img.shields.io/packagist/dt/ezitisitis/laravel-dark-theme-switcher.svg?style=flat-square)](https://packagist.org/packages/ezitisitis/laravel-dark-theme-switcher)\n\nThis package is made to provide good UX for theme switching and simplicity in implementation.\n\n## Support us\n\nIf you are using this package for commercial use, that would be highly appreciated to support through [GitHub Sponsor](https://github.com/sponsors/ezitisitis)\nprogram, as developing even small packages requires time and effort, while saving your precious time.\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require ezitisitis/laravel-dark-theme-switcher\n```\n\nInclude next components in your layout to add the switching script and switch itself.\n\n1. In the `\u003chead\u003e` place next component:\n\n```php\n\u003cx-dark-theme-switcher::script/\u003e\n```\n\n2. Add switch component somewhere in the `\u003cbody\u003e`:\n\n```php\n\u003cx-dark-theme-switcher::/\u003e\n```\n\n3. Add next code to your `app.js`\n\n```js\nimport '../../vendor/ezitisitis/laravel-dark-theme-switcher/resources/js/themeSwitch.js';\n```\n\n## Configuration\n\nYou can publish the config file with:\n\n```bash\nphp artisan vendor:publish --tag=dark-theme-switcher-config\n```\n\nOptionally, you can publish the views using\n\n```bash\nphp artisan vendor:publish --tag=dark-theme-switcher-views\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Credits\n\n- [Marks Bogdanovs](https://www.ezitisitis.com/)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fezitisitis%2Flaravel-dark-theme-switcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fezitisitis%2Flaravel-dark-theme-switcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fezitisitis%2Flaravel-dark-theme-switcher/lists"}