Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alaminfirdows/laravel-editorjs-demo
https://github.com/alaminfirdows/laravel-editorjs-demo
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alaminfirdows/laravel-editorjs-demo
- Owner: alaminfirdows
- Created: 2024-03-29T17:19:37.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-03-29T18:49:12.000Z (10 months ago)
- Last Synced: 2024-03-29T19:45:50.627Z (10 months ago)
- Language: PHP
- Size: 91.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel EditorJS Demo
A simple Laravel application that demonstrates how to use the [EditorJS](https://editorjs.io/) library to create a WYSIWYG editor. This application uses the [alaminfirdows/laravel-editorjs](https://packagist.org/packages/alaminfirdows/laravel-editorjs) package to handle the render the editor content.
To learn more about how to use the package, check out the [documentation](https://github.com/alaminfirdows/laravel-editorjs)
or intall the package via composer
```bash
composer require alaminfirdows/laravel-editorjs
```## Installation
Step 1: Clone the repository
```bash
git clone [email protected]:alaminfirdows/laravel-editorjs-demo.git
```Step 2: Install the package dependencies
```bash
composer installyarn install && yarn run build
```Step 3: Create a `.env` file
```bash
cp .env.example .env
```Step 4: Generate an application key
```bash
php artisan key:generate
```Step 5: Run the migrations
```bash
php artisan migrate --force
```Step 6: Run the development server
```bash
php artisan serve
```## Usage
Visit `http://localhost:8000` in your browser to see the editor in action.