Download the PHP package wangta69/laravel-editor without Composer

On this page you can find all versions of the php package wangta69/laravel-editor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-editor

🚀 Laravel Editor Hub (wangta69/laravel-editor)

WYSIWYG · Markdown · Block(JSON) 에디터를 하나의 통일된 인터페이스로 제공하는 라라벨 패키지입니다.
기존 프로젝트의 코드 수정 없이 설정(config/pondol-editor.php) 하나로 SunEditor, Summernote, EasyMDE, Cherry Markdown, Vditor, Editor.js, Naver SmartEditor2 등을 자유롭게 교체·혼용할 수 있습니다.


🌟 Real-world Usage

이 패키지는 길라(Gilra) (Online Fortune Service)의 커뮤니티 Q&A, 1:1 상담소, 공지사항을 구축하며 실제 운영 환경에서 검증되었습니다.
특히 다중 에디터 인스턴스 처리, 스크립트 defer 로딩 대응, 이미지 자동 추출/업로드, Light/Dark 테마 전환을 실서비스 요구에 맞게 고도화했습니다.


✨ Key Features


📚 Documentation

상세한 사용법과 문서는 공식 사이트에서 확인하실 수 있습니다.


🛠 Installation

1. Composer 설치 (PHP 8.1+ / Laravel 10·11·12)

2. 오픈소스 로컬 에셋 다운로드 & 퍼블리싱

참고: 특정 에디터만 퍼블리싱하고 싶다면 --only=suneditor,summernote 또는 --tag=public-plugins-suneditor를 사용할 수 있습니다.


⚙️ Supported Editors

config/pondol-editor.php의 default-template 또는 뷰의 template 파라미터로 아래 키를 지정할 수 있습니다.

Key Category Editor Name License 특징
suneditor WYSIWYG SunEditor MIT 기본값(추천). 순수 JS(jQuery 불필요), 한국어/표/이미지 리사이즈 최적
summernote WYSIWYG Summernote Lite MIT 가볍고 익숙한 UI, Bootstrap 비의존 Lite 버전
smart-editor WYSIWYG Naver SmartEditor2 LGPL-2.1 국내 게시판에 친숙한 네이버 스마트에디터 (HTML5 멀티 업로드 지원)
easymde Markdown EasyMDE MIT 가볍고 <textarea>와 100% 네이티브 호환되는 마크다운 에디터
cherry-markdown Markdown Cherry Markdown Apache-2.0 실시간 분할 미리보기, Mermaid/수식, HTML→MD 붙여넣기 지원
vditor Markdown Vditor MIT WYSIWYG / 실시간 렌더링(IR) / 분할(SV) 3가지 편집 모드 지원
editorjs Block Editor.js Apache-2.0 노션 스타일 블록 에디터 (깔끔한 JSON 데이터 출력)
tinymce WYSIWYG TinyMCE GPLv2+ / Commercial 강력한 기능 (※ 오픈소스 사용 시 GPL 라이선스 조건 확인 필요)
froala WYSIWYG Froala Editor Commercial 하위 호환용 (별도 상용 라이선스 필요)
richtext WYSIWYG RichTextEditor Commercial 하위 호환용 (별도 상용 라이선스 필요)

📖 Quick Start

1. Blade Component 방식 (권장)

2. Blade Include 방식 (기존 100% 호환)

다른 에디터를 일회성으로 지정할 때는 'template' => 'easymde'와 'options'를 함께 넘기면 됩니다:


🚀 Advanced Usage

1. 한 페이지에 여러 에디터 동시에 사용하기

동일 에디터든 서로 다른 에디터든 ID만 다르면 자동으로 중복 에셋 로딩을 방지하고 각각 독립적으로 동작합니다.

2. AJAX 모달 / 레이아웃 없는 뷰에서 사용하기 (inline 모드)

레이아웃에 @yield('styles')나 @yield('scripts')가 없는 모달·부분 뷰에서는 section_mode를 inline으로 지정하세요.

3. 본문 렌더링 & 이미지 추출 헬퍼 (Editor Facade)

4. 이미지 업로드 이벤트 훅 (ImageUploaded)

통합 업로더(/editor/upload) 또는 SmartEditor 업로드가 성공할 때마다 Pondol\Editor\Events\ImageUploaded 이벤트가 발행됩니다. 워터마크, 리사이징, S3 백업 등을 리스너로 연결할 수 있습니다.

5. 기존 SmartEditor Trait 직접 사용 (하위 호환)

6. 임시 업로드 이미지 정리 스케줄러

storage/app/public/tmp/editor에 남은 오래된 임시 파일을 정리합니다.

routes/console.php (Laravel 11+)에 등록 예시:


🧪 Tests & Sample Preview

브라우저 샘플 확인

패키지 설치 후 아래 URL에서 10종 에디터를 즉시 테스트할 수 있습니다. (기본 미들웨어: ['web', 'auth'])

패키지 단위 테스트 실행


🖼 Screenshots


🤝 Contribution & Support


Copyright © wangta69. Licensed under the MIT License.


All versions of laravel-editor with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^10.0|^11.0|^12.0|^13.0
illuminate/filesystem Version ^10.0|^11.0|^12.0|^13.0
illuminate/view Version ^10.0|^11.0|^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package wangta69/laravel-editor contains the following files

Loading the files please wait ...