{"id":42538928,"url":"https://github.com/intentor/laravel-theme","last_synced_at":"2026-01-28T17:40:17.214Z","repository":{"id":28801110,"uuid":"32324109","full_name":"intentor/laravel-theme","owner":"intentor","description":"Simple theme manager for Laravel 5","archived":false,"fork":false,"pushed_at":"2019-11-17T23:59:15.000Z","size":15,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-26T14:47:55.570Z","etag":null,"topics":["discontinued","laravel","php","plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/intentor.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-16T12:43:38.000Z","updated_at":"2020-05-21T17:57:03.000Z","dependencies_parsed_at":"2022-08-02T12:38:57.543Z","dependency_job_id":null,"html_url":"https://github.com/intentor/laravel-theme","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/intentor/laravel-theme","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intentor%2Flaravel-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intentor%2Flaravel-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intentor%2Flaravel-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intentor%2Flaravel-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/intentor","download_url":"https://codeload.github.com/intentor/laravel-theme/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intentor%2Flaravel-theme/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28847991,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"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":["discontinued","laravel","php","plugin"],"created_at":"2026-01-28T17:40:16.412Z","updated_at":"2026-01-28T17:40:17.209Z","avatar_url":"https://github.com/intentor.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![Laravel Theme](https://cloud.githubusercontent.com/assets/5340818/6719072/0df533b0-cd97-11e4-9951-59796621efae.png)\r\n\r\n**Simple theme manager for Laravel 5**\r\n\r\nCurrently the project is **DISCONTINUED**. However, feel free to fork it and continue its development!\r\n\r\n## Contents\r\n\r\n1. \u003ca href=\"#introduction\"\u003eIntroduction\u003c/a\u003e\r\n2. \u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\r\n3. \u003ca href=\"#quick-start\"\u003eQuick start\u003c/a\u003e\r\n4. \u003ca href=\"#best-practices\"\u003eBest practices\u003c/a\u003e\r\n5. \u003ca href=\"#limitations\"\u003eLimitations\u003c/a\u003e\r\n6. \u003ca href=\"#changelog\"\u003eChangelog\u003c/a\u003e\r\n7. \u003ca href=\"#support\"\u003eSupport\u003c/a\u003e\r\n8. \u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\r\n\r\n## \u003ca id=\"introduction\"\u003e\u003c/a\u003eIntroduction\r\n\r\n*Laravel Theme* provides a simple way to manage themes on a Laravel app.\r\n\r\nCompatible with Laravel 5.\r\n\r\n## \u003ca id=\"installation\"\u003e\u003c/a\u003eInstallation\r\n\r\n### Laravel 5.0\r\n\r\nAt `composer.json` of your Laravel installation, add the following require line:\r\n\r\n``` json\r\n{\r\n    \"require\": {\r\n        \"intentor/laravel-theme\": \"~1.0\"\r\n    }\r\n}\r\n```\r\n\r\nRun `composer update` to add the package to your Laravel app.\r\n\r\nAt `config/app.php`, add the Service Provider and the Facade:\r\n\r\n```php\r\n    'providers' =\u003e [\r\n\t\t'Intentor\\LaravelTheme\\ServiceProvider',\r\n    ]\r\n\r\n\t//...\r\n\r\n    'aliases' =\u003e [\r\n        'Form' =\u003e 'Intentor\\LaravelTheme\\Facade',\r\n    ]\r\n```\r\n\r\n### Laravel 5.1+\r\n\r\nAt `composer.json` of your Laravel installation, add the following require line:\r\n\r\n``` json\r\n{\r\n    \"require\": {\r\n        \"intentor/laravel-theme\": \"~1.0\"\r\n    }\r\n}\r\n```\r\n\r\nRun `composer update` to add the package to your Laravel app.\r\n\r\nAt `config/app.php`, add the Service Provider and the Facade:\r\n\r\n```php\r\n    'providers' =\u003e [\r\n        Intentor\\LaravelTheme\\ServiceProvider::class,\r\n    ]\r\n\r\n    //...\r\n\r\n    'aliases' =\u003e [\r\n        'Form' =\u003e Intentor\\LaravelTheme\\Facade::class,\r\n    ]\r\n```\r\n\r\n## \u003ca id=\"quick-start\"\u003e\u003c/a\u003eQuick start\r\n\r\n### Creating a theme\r\n\r\nTo create a theme, first add a `themes` folder to the `resources` folder of your app.\r\n\r\nInside the `themes` folder, any folder you create will represent a theme. For each theme folder, add a `views` folder, in which you'll create all the views for that particular theme.\r\n\r\nThe folder structure will look like this:\r\n\r\n```\r\nresources\r\n└── themes\r\n    ├── [theme folder]\r\n    |   └── views\r\n    |\r\n    └── [another theme folder]\r\n        └── views\r\n```\r\n\r\n### Setting a theme\r\n\r\nTo set a theme, call `Theme::set('theme_name')` anywhere you want to change your theme.\r\n\r\n**Remember**: the name of theme is the name of the folder that represents the theme at the `resources/themes` folder.\r\n\r\n### Displaying views\r\n\r\nTo display a view, just call `view('view_name')` without indicating any reference to the theme.\r\n\r\n### Adding assets\r\n\r\nTo add assets to pages, just include them pointing to their location at the `public` folder.\r\n\r\n## \u003ca id=\"best-practices\"\u003e\u003c/a\u003eBest practices\r\n\r\n1\\. Add any assets (images, CSS, JS, etc.) for the theme in a specific folder inside the `public` folder.\r\n\r\n2\\. If you're using a task manager (like [Gulp](http://gulpjs.com/) or [Grunt](http://gruntjs.com/)) it's recommended to add assets at an `assets` folder inside the theme and then move the files to the public location. \r\n\r\n```\r\nresources\r\n└── themes\r\n    ├── [theme folder]\r\n    |   ├── css/sass/less\r\n    |   ├── img\r\n    |   ├── js\r\n    |   └── views\r\n    |\r\n    └── [another theme folder]\r\n        ├── css/sass/less\r\n        ├── img\r\n        ├── js\r\n        └── views\r\n```\r\n\r\n3\\. Create shared views at the `resources/views` folder.\r\n\r\n4\\. Views in themes always override shared views.\r\n\r\n## \u003ca id=\"limitations\"\u003e\u003c/a\u003eLimitations\r\n\r\n1. Asset management can be rather awkward, given the views for the theme are outside the `public` folder.\r\n\r\n## \u003ca id=\"changelog\"\u003e\u003c/a\u003eChangelog\r\n\r\nPlease see [CHANGELOG.md](CHANGELOG.md).\r\n\r\n## \u003ca id=\"support\"\u003e\u003c/a\u003eSupport\r\n\r\nFound a bug? Please create an issue on the [GitHub project page](https://github.com/intentor/laravel-theme/issues) or send a pull request if you have a fix or extension.\r\n\r\nYou can also send me a message at support@intentor.com.br to discuss more obscure matters about the component.\r\n\r\n## \u003ca id=\"license\"\u003e\u003c/a\u003eLicense\r\n\r\nLicensed under the [The MIT License (MIT)](http://opensource.org/licenses/MIT). Please see [LICENSE](LICENSE) for more information.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintentor%2Flaravel-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintentor%2Flaravel-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintentor%2Flaravel-theme/lists"}