Skip to content

Commit

Permalink
Merge pull request #111 from lara-zeus/more-editors
Browse files Browse the repository at this point in the history
📝 adding the support to configure the content editor
  • Loading branch information
atmonshi authored Jun 22, 2023
2 parents 68a8b60 + d785daf commit b60d532
Show file tree
Hide file tree
Showing 14 changed files with 183 additions and 185 deletions.
27 changes: 1 addition & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Lara-zeus sky is simple CMS for your website. It includes posts, pages, tags, an
- 🔥 built with [TALL stack](https://tallstack.dev/)
- 🔥 using [filament](https://filamentadmin.com) as an admin panel
- 🔥 FrontEnd scaffolding, highly customizable.
- 🔥 Configure the content editor.
- 🔥 all models are translatable.
- sticky posts
- recent posts
Expand All @@ -48,32 +49,6 @@ and more on the way.
> visit our website to get the full documentation: https://larazeus.com/sky
## Installation

You can install the package via composer:

```bash
composer require lara-zeus/sky
```

run the commands:

```bash
php artisan vendor:publish --provider="LaraZeus\Sky\SkyServiceProvider" --tag=zeus-sky-migrations
php artisan vendor:publish --provider="Spatie\Tags\TagsServiceProvider" --tag="tags-migrations"
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="migrations"
php artisan vendor:publish --tag=zeus-assets
php artisan vendor:publish --tag="filament-forms-tinyeditor-assets"
```

then run the migration
```bash
php artisan migrate
```
## Usage

visit the url `/admin` to manage the Letters, and `/blog`.

## Full Documentation

> visit our website to get the full documentation: https://larazeus.com/sky
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"filament/spatie-laravel-tags-plugin": "^2.0",
"filament/spatie-laravel-translatable-plugin": "^2.0",
"lara-zeus/core": "^2.4",
"mohamedsabil83/filament-forms-tinyeditor": "^1.5",
"mohamedsabil83/filament-forms-tinyeditor": "^1.7",
"ryangjchandler/filament-navigation": "dev-with-rtl",
"spatie/laravel-medialibrary": "^10.0.0",
"spatie/laravel-sluggable": "^3.3",
Expand Down
88 changes: 44 additions & 44 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion config/zeus-sky.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
'faq_uri_prefix' => 'faq',

/**
* this will be setup the default seo site title. read more about it in 'laravel-seo'.
* this will be set up the default seo site title. read more about it in 'laravel-seo'.
*/
'site_title' => config('app.name', 'Laravel') . ' | Blogs',

Expand Down Expand Up @@ -124,4 +124,12 @@
'category' => 'Category',
'library' => 'Library',
],

/**
* the default editor for pages and posts, Available:
* \LaraZeus\Sky\Classes\TipTapEditor::class,
* \LaraZeus\Sky\Classes\TinyEditor::class,
* \LaraZeus\Sky\Classes\MarkdownEditor::class,
*/
'editor' => \LaraZeus\Sky\Classes\TinyEditor::class,
];
Loading

0 comments on commit b60d532

Please sign in to comment.