Publishing on your own terms
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Canvas is an open-source publishing platform for Laravel. Drop it into an existing application, use your own authentication, and start writing.
canvas:uiweb by default)composer require austintoddj/canvas
php artisan canvas:install
Grant admin access to an existing user:
php artisan canvas:make-admin [email protected]
Visit /canvas in your browser.
Learn more about configuration in the documentation. Or to manage users and roles, see authorization.
Canvas UI is an optional public-facing blog. It is not required for Canvas to work.
php artisan canvas:ui
Visit /canvas-ui in your browser.
Learn more about Canvas UI in the documentation. Or to build and customize your own frontend, see content.
Canvas follows Semantic Versioning and increments versions as MAJOR.MINOR.PATCH.
composer update austintoddj/canvas
php artisan canvas:migrate
php artisan canvas:publish
To publish assets automatically after Composer updates, add this to your application’s composer.json:
{
"scripts": {
"post-update-cmd": ["@php artisan canvas:publish --ansi"]
}
}
Thank you for considering contributing to Canvas! The contribution guide can be found here.
composer test
Canvas is open-sourced software licensed under the MIT license.