{"id":14974690,"url":"https://github.com/webdevetc/blogetc","last_synced_at":"2025-04-04T10:08:51.097Z","repository":{"id":47527721,"uuid":"144829997","full_name":"WebDevEtc/BlogEtc","owner":"WebDevEtc","description":"Easily add a full Laravel blog (with built in admin panel and public views) to your laravel project with this simple package.","archived":false,"fork":false,"pushed_at":"2022-10-23T09:48:17.000Z","size":578,"stargazers_count":228,"open_issues_count":1,"forks_count":69,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-04T10:08:44.929Z","etag":null,"topics":["admin","backend","blade","blog","blog-engine","blog-platform","blogging","blogpost","eloquent","frontend","laravel","laravel-5-package","laravel-application","laravel-framework","laravel-package","package","rss","rss-feed"],"latest_commit_sha":null,"homepage":"https://webdevetc.com/blogetc","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/WebDevEtc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null}},"created_at":"2018-08-15T08:56:49.000Z","updated_at":"2025-03-04T17:35:02.000Z","dependencies_parsed_at":"2022-07-21T02:48:33.891Z","dependency_job_id":null,"html_url":"https://github.com/WebDevEtc/BlogEtc","commit_stats":null,"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevEtc%2FBlogEtc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevEtc%2FBlogEtc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevEtc%2FBlogEtc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevEtc%2FBlogEtc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebDevEtc","download_url":"https://codeload.github.com/WebDevEtc/BlogEtc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247157283,"owners_count":20893220,"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":["admin","backend","blade","blog","blog-engine","blog-platform","blogging","blogpost","eloquent","frontend","laravel","laravel-5-package","laravel-application","laravel-framework","laravel-package","package","rss","rss-feed"],"created_at":"2024-09-24T13:50:56.323Z","updated_at":"2025-04-04T10:08:51.076Z","avatar_url":"https://github.com/WebDevEtc.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Note: this is a very old project. I haven't updated it for years.**\n\nDependabot has alerts saying there are outdated dependancy with security issues. Please stop using this package, and upgrade your code to something else. \n\n**It is not compatible with recent version of Laravel. There are some forks of this package, please use one of those.**\n\n---------------\n\n# Webdevetc BlogEtc - Complete Laravel Blog Package\n\n - Quickly add a blog with admin panel to your existing Laravel project. It has everything included (routes, views, controllers, middleware, etc)\n - Works with latest version of Laravel.\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://travis-ci.org/WebDevEtc/BlogEtc\"\u003e\n    \u003cimg src=\"https://travis-ci.org/WebDevEtc/BlogEtc.svg?branch=master\" alt=\"Build Status\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.styleci.io/repos/144829997\"\u003e\n    \u003cimg src=\"https://github.styleci.io/repos/144829997/shield?branch=master\" alt=\"StyleCI\"\u003e\n  \u003c/a\u003e\n\n   \u003ca href=\"https://packagist.org/packages/WebDevEtc/BlogEtc\"\u003e\n      \u003cimg src=\"https://poser.pugx.org/WebDevEtc/BlogEtc/v/stable.png\" alt=\"Latest Stable Version\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://packagist.org/packages/WebDevEtc/BlogEtc\"\u003e\n      \u003cimg src=\"https://poser.pugx.org/WebDevEtc/BlogEtc/downloads.png\" alt=\"Total Downloads\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://packagist.org/packages/WebDevEtc/BlogEtc\"\u003e\n    \u003cimg src=\"https://poser.pugx.org/WebDevEtc/BlogEtc/license.png\" alt=\"License\"\u003e\n  \u003c/a\u003e\n  \n  \u003ca href=\"https://scrutinizer-ci.com/g/WebDevEtc/BlogEtc/?branch=master\"\u003e\n      \u003cimg src=\"https://scrutinizer-ci.com/g/WebDevEtc/BlogEtc/badges/quality-score.png?b=master\" alt=\"Scrutinizer Code Quality\" /\u003e\n  \u003c/a\u003e\n  \n  \u003ca href=\"https://scrutinizer-ci.com/g/WebDevEtc/BlogEtc/?branch=master\"\u003e\n      \u003cimg src=\"https://scrutinizer-ci.com/g/WebDevEtc/BlogEtc/badges/coverage.png?b=master\" alt=\"Code Coverage\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# Recent changes (May/June 2020) including recent installation instructions:\n\n - This package no longer uses `\\App\\User::canManageBlogEtcPosts()` to check if a user can access the admin panel. \n - Instead it now uses a Laravel gate. This is currently backwards compatible without any edits. \n - For new installations please add the following to `App\\Providers\\AuthServiceProvider`:\n \n ```php\n    Gate::define(GateTypes::MANAGE_BLOG_ADMIN, static function (?Model $user) {\n        // Implement your logic here, for example:\n        return $user \u0026\u0026 $user-\u003eemail === 'your-admin-user@your-site.com';\n        // Or something like `$user-\u003eis_admin === true`\n    });\n```\n\n - The old way (using the `canManageBlogEtcPosts()` method on User.php) will still work but it is not recommended. At some point in the future it will be removed.\n \n (Readme on webdevetc.com will be updated soon)\n                                                                                           \n## Blog Package for Laravel                                                                                           \n\nThis is [WebDevEtc's](https://webdevetc.com/) [BlogEtc Blog package for Laravel](https://webdevetc.com/blogetc). It has everything you need to quickly and easily add a blog to your laravel app.\n\n### For installation instructions please read [the Laravel blog install guide here](https://webdevetc.com/laravel/packages/blogetc-blog-system-for-your-laravel-app/help-documentation/laravel-blog-package-blogetc#install_guide)\n\n[Install guide](https://webdevetc.com/laravel/packages/blogetc-blog-system-for-your-laravel-app/help-documentation/laravel-blog-package-blogetc#install_guide) • [Packagist](https://packagist.org/packages/webdevetc/blogetc) \u003c\u003c They're simple, but must be followed.\n\n## Features\n\n- Includes all views, routes, models, controllers, events, etc\n  - Public facing pages:\n    - View all posts (paginated)\n    - View all posts in category (paginated)\n    - View single post\n    - Add comment views / confirmation views\n    - Search, search form, search results page.\n  - Admin pages:\n    - Posts **(CRUD Blog Posts, Upload Featured Images (auto resizes)**\n      - View all posts,\n      - Create new post,\n      - Edit post,\n      - Delete post\n    - Categories **(CRUD Post Categories)**\n      - View all categories,\n      - Create new category,\n      - Edit post,\n      - Delete post\n    - Comments **(including comment approvals)**\n      - View all comments,\n      - Approve/Moderate comment,\n      - Delete comment\n    - Upload images\n      - as well as uploading featured images for each blog post (and auto resizing to multiple defined sizes), you can upload images separately.\n      - view all uploaded images (in multiple sizes)\n- **Includes admin panel**\n  - Create / edit posts\n  - Create / edit post categories\n  - Manage (approve/delete) submitted comments\n- Allows each blog post to have featured images uploaded (you can define the actual dimensions) - in large, medium, thumbnail sizes\n- fully configurable via its `config/blogetc.php` config file.\n- **Includes all required view files, works straight away with no additional setup.** All view files (Blade files) use Bootstrap 4, and very clean HTML (easy to get your head around). You can easily override any view file by putting files in your `/resources/views/vendor/blogetc/` directory\n- **Built in comments (using the database)**, can auto approve or require admin approval (comment moderation).\n  - Other options include using [Disqus](http://disqus.com/) comments or disabling comments.\n- Includes unit/feature tests, run automatically on Travis CI.\n- Fires events for any database changes, so you can easily add Event Listeners if you need to add additional logic.\n- **\u003c 5 minute install time** and your blog is up and working, ready for you to go to the admin panel and write a blog post - see full details below, but this is a summary of the required steps:\n   - install with composer,\n   - do the database migration, copy the config file over (done with `php artisan vendor:publish`)\n   - chmod/chown the `public/blog_images/` directory so featured images can be uploaded for each blog post\n   - and then add a gate to AuthServiceProvider (see note above)\n   - __but please see the install instructions to get everything up and working__\n\n## How to customise the blog views/templates\n\nThis is easy to do, and further details can be found in our  [BlogEtc Laravel Blog Package Documentation](https://webdevetc.com/laravel/packages/blogetc-blog-system-for-your-laravel-app/help-documentation/laravel-blog-package-blogetc#guide_to_views).\n\nAfter running the `vendor:publish` command, all of the default template files will be found in `/resources/views/vendor/blogetc/` and are easy to edit to match your needs.\n\n## Missing /auth/register?\n\nIf you are installing on a fresh install of Laravel (which no longer includes auth built in) then the following must be ran:\n \n```\ncomposer require laravel/ui;\nphp artisan ui vue --auth;\n``` \n\n## Issues, support, bug reports, security issues\n\nPlease contact me on the contact from on [WebDev Etc](https://webdevetc.com/) or on [twitter](https://twitter.com/web_dev_etc/) and I'll get back to you ASAP.\n\n## Versions\n\n- **8.4** (Sept 2020): Added support for Laravel 8. Removed support for PHP 7.2\n- **8.3** (Sept 2020): Removed support for `swisnl/laravel-fulltext` as it seems abandoned. \n  - Searching in blogetc is now much more simple - it is all inline in the controller and does a simple LIKE query. \n  - If you need full text search then I recommend you implement your own search controller (see older commits to copy code that used full text search)\n- **8.2** (Sept 2020): Added fix for dynamic title\n- **\u003c 8.1** Support for PHP 7.2, 7.3, 7.4. Support for Lavavel 5.8.35 - 7.6\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevetc%2Fblogetc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebdevetc%2Fblogetc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevetc%2Fblogetc/lists"}