{"id":13732851,"url":"https://github.com/stephenjude/filament-blog","last_synced_at":"2025-04-05T08:09:09.964Z","repository":{"id":41870757,"uuid":"458617973","full_name":"stephenjude/filament-blog","owner":"stephenjude","description":"A faceless blog content manager with configurable richtext and markdown support for filament admin panel","archived":false,"fork":false,"pushed_at":"2024-03-25T18:42:32.000Z","size":2415,"stargazers_count":133,"open_issues_count":0,"forks_count":35,"subscribers_count":9,"default_branch":"main","last_synced_at":"2024-04-13T21:52:17.936Z","etag":null,"topics":["blogging","laravel","publishing"],"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/stephenjude.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":"stephenjude"}},"created_at":"2022-02-12T19:22:31.000Z","updated_at":"2024-04-13T01:18:16.000Z","dependencies_parsed_at":"2024-04-13T19:23:00.022Z","dependency_job_id":"6af59a3a-8f72-404e-bb93-340e5098ad67","html_url":"https://github.com/stephenjude/filament-blog","commit_stats":{"total_commits":167,"total_committers":13,"mean_commits":"12.846153846153847","dds":0.6107784431137724,"last_synced_commit":"1581a07dfe9129731a02c453982d1187ff4d8764"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":"spatie/package-skeleton-laravel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenjude%2Ffilament-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenjude%2Ffilament-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenjude%2Ffilament-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenjude%2Ffilament-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephenjude","download_url":"https://codeload.github.com/stephenjude/filament-blog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247305935,"owners_count":20917208,"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":["blogging","laravel","publishing"],"created_at":"2024-08-03T03:00:34.663Z","updated_at":"2025-04-05T08:09:09.937Z","avatar_url":"https://github.com/stephenjude.png","language":"PHP","funding_links":["https://github.com/sponsors/stephenjude"],"categories":["Complete Sections"],"sub_categories":[],"readme":"![](https://raw.githubusercontent.com/stephenjude/filament-blog/main/art/banner.jpg)\n\n# Filament Blog Builder\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/stephenjude/filament-blog.svg?style=flat-square)](https://packagist.org/packages/stephenjude/filament-blog)\n[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/stephenjude/filament-blog/run-tests?label=tests)](https://github.com/stephenjude/filament-blog/actions?query=workflow%3Arun-tests+branch%3Amain)\n[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/stephenjude/filament-blog/Check%20\u0026%20fix%20styling?label=code%20style)](https://github.com/stephenjude/filament-blog/actions?query=workflow%3A\"Check+%26+fix+styling\"+branch%3Amain)\n[![Total Downloads](https://img.shields.io/packagist/dt/stephenjude/filament-blog.svg?style=flat-square)](https://packagist.org/packages/stephenjude/filament-blog)\n\nA faceless blog content manager with configurable richtext and markdown support for filament admin panel.\n\n![](https://raw.githubusercontent.com/stephenjude/filament-blog/main/art/screen1.png)\n\n## Filament Admin Panel\n\nThis package is tailored for [Filament Admin Panel](https://filamentphp.com/).\n\nMake sure you have installed the admin panel before you continue with the installation. You can check the [documentation here](https://filamentphp.com/docs/admin)\n\n## Supported Versions\n\nPHP: `8.1` \u0026 `8.2`\n\nLaravel: `10`\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require stephenjude/filament-blog\n\nphp artisan filament-blog:install\n\nphp artisan storage:link\n\nphp artisan migrate\n```\n\nYou'll have to register the plugin in your panel provider.\n\n```php\npublic function panel(Panel $panel): Panel\n{\n    return $panel\n        ...\n        -\u003eplugin(\n            Stephenjude\\FilamentBlog\\BlogPlugin::make()\n        );\n}\n```\n\n## Displaying your content\n\nFilament blog builder is faceless, it doesn't have any opinions on how you display your content in your frontend. You can use the blog models in your controllers to display the different resources:\n\n-   `Stephenjude\\FilamentBlog\\Models\\Post`\n-   `Stephenjude\\FilamentBlog\\Models\\Author`\n-   `Stephenjude\\FilamentBlog\\Models\\Category`\n\n### Posts \u0026 Drafts\n\n```php\n$posts = Post::published()-\u003eget();\n\n$drafts = Post::draft()-\u003eget();\n\n```\n\n### Post Content\n\n```php\n$post = Post::find($id);\n\n$post-\u003eid;\n$post-\u003etitle;\n$post-\u003eslug;\n$post-\u003eexcerpt;\n$post-\u003ebanner_url;\n$post-\u003econtent;\n$post-\u003epublished_at;\n```\n\n### Post Category \u0026 Author\n\n```php\n$post = Post::with(['author', 'category'])-\u003efind($id);\n\n$author = $post-\u003eauthor;\n\n$author-\u003eid;\n$author-\u003ename;\n$author-\u003eemail;\n$author-\u003ephoto;\n$author-\u003ebio;\n$author-\u003egithub_handle;\n$author-\u003etwitter_handle;\n\n\n$category = $post-\u003ecategory;\n\n$category-\u003eid;\n$category-\u003ename;\n$category-\u003eslug;\n$category-\u003edescription;\n$category-\u003eis_visible;\n$category-\u003eseo_title;\n$category-\u003eseo_description;\n\n```\n\n### Configurations\n\nThis is the contents of the published config file:\n\n```php\n\u003c?php\n\nreturn [\n\n    /**\n     * Supported content editors: richtext \u0026 markdown:\n     *      \\Filament\\Forms\\Components\\RichEditor::class\n     *      \\Filament\\Forms\\Components\\MarkdownEditor::class\n     */\n    'editor'  =\u003e \\Filament\\Forms\\Components\\RichEditor::class,\n\n    /**\n     * Buttons for text editor toolbar.\n     */\n    'toolbar_buttons' =\u003e [\n        'attachFiles',\n        'blockquote',\n        'bold',\n        'bulletList',\n        'codeBlock',\n        'h2',\n        'h3',\n        'italic',\n        'link',\n        'orderedList',\n        'redo',\n        'strike',\n        'undo',\n    ],\n\n    /**\n     * Configs for Posts that give you the option to change\n     * the sort column and direction of the Posts.\n     */\n    'sort' =\u003e [\n        'column' =\u003e 'published_at',\n        'direction' =\u003e 'asc',\n    ],\n];\n```\n\n## More Screenshots\n\n![](https://raw.githubusercontent.com/stephenjude/filament-blog/main/art/screen2.png)\n\n---\n\n![](https://raw.githubusercontent.com/stephenjude/filament-blog/main/art/screen3.png)\n\n## Testing\n\n```bash\ncomposer test\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.\n\n## Security Vulnerabilities\n\nPlease review [our security policy](../../security/policy) on how to report security vulnerabilities.\n\n## Credits\n\n-   [stephenjude](https://github.com/stephenjude)\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%2Fstephenjude%2Ffilament-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephenjude%2Ffilament-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephenjude%2Ffilament-blog/lists"}