{"id":33984315,"url":"https://github.com/jithintc/laravel-webpage-manager","last_synced_at":"2026-06-09T09:32:10.261Z","repository":{"id":56999419,"uuid":"149103569","full_name":"jithintc/laravel-webpage-manager","owner":"jithintc","description":"Laravel package to create and manage static content pages.","archived":false,"fork":false,"pushed_at":"2018-10-11T11:26:23.000Z","size":13,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-14T16:48:38.543Z","etag":null,"topics":["laravel-5-package","laravel-package","static-content","static-page-generator","static-pages"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/jithin/cubet-wpm","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jithintc.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":"2018-09-17T09:46:39.000Z","updated_at":"2022-08-20T17:29:16.000Z","dependencies_parsed_at":"2022-08-21T14:50:40.329Z","dependency_job_id":null,"html_url":"https://github.com/jithintc/laravel-webpage-manager","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jithintc/laravel-webpage-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jithintc%2Flaravel-webpage-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jithintc%2Flaravel-webpage-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jithintc%2Flaravel-webpage-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jithintc%2Flaravel-webpage-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jithintc","download_url":"https://codeload.github.com/jithintc/laravel-webpage-manager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jithintc%2Flaravel-webpage-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34101065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["laravel-5-package","laravel-package","static-content","static-page-generator","static-pages"],"created_at":"2025-12-13T04:28:29.468Z","updated_at":"2026-06-09T09:32:10.257Z","avatar_url":"https://github.com/jithintc.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jithin/cubet-wpm\nWeb Page Manager: A laravel package to create and manage static content pages like about, privacy policy etc. \n\n## Installation ##\n\n```\n$ composer require jithin/cubet-wpm\n```\n\nOpen config/app.php, Add the Service Provider\n```\njithin\\CubetWpm\\WebPageProvider::class,\n```\n\nAdd the Facade to your aliases\n```\n'WebPage' =\u003e jithin\\CubetWpm\\Facades\\WebPage::class,\n```\n\nPublish the migrations and commands \n```\n$ php artisan vendor:publish -tag=migrations\n$ php artisan vendor:publish -tag=commands\n\n```\n\nThen run \n```\n$ php artisan migrate\n```\n\nGenerate WPM controller, views and routes\n```\n$ php artisan make:wpm \n```\n```\n$ php artisan make:wpm --views (Only scaffold the wpm views), \n$ php artisan make:wpm --force (Overwrite existing files by default)\n```\n\n###### Views, Controller and Routes are now published and it can be customized based on the project requirement.\n###### Views include `layouts\\app` blade; ignore include if there is no such layout blade.\n###### Check the `routes\\web.php` to find the admin routes.\n\n## Usage\nCreate new page in admin and publish it. To invoke the page, use the system-generated page slug and specify the view file (optional) to be rendered. If the view file is not specified the default view will be `wpm\\static`.\n```\nWebPage::bind('slug', 'path\\to\\view')\n```\n\nExample:\nCreate a new page with title 'About Us'. Go to Web Pages List and copy the slug 'about-us'.\nThen create new route\n```\nRoute::get('/about', function () {\n\treturn WebPage::bind('about-us');\n});\n```\nThat's it! You're done.\n\nHave fun!\n\nJithin\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjithintc%2Flaravel-webpage-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjithintc%2Flaravel-webpage-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjithintc%2Flaravel-webpage-manager/lists"}