dev.club — where best developers and top companies connect.

dev.club — where best developers and top companies connect.Invite only

Request invite

Homepage for trycanvas.app

Build Status Total Downloads Latest Stable Version License

About Canvas

Canvas is an open-source publishing platform for Laravel. Drop it into an existing application, use your own authentication, and start writing.

Requirements

Installation

composer require austintoddj/canvas
php artisan canvas:install

Grant admin access to an existing user:

php artisan canvas:make-admin your@email.com

Visit /canvas in your browser.

Learn more about configuration in the documentation. Or to manage users and roles, see authorization.

Canvas UI

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.

Upgrading

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"]
    }
}

Contributing

Thank you for considering contributing to Canvas! The contribution guide can be found here.

Testing

composer test

License

Canvas is open-sourced software licensed under the MIT license.

Join libs.tech

...and unlock some superpowers

GitHub

We won't share your data with anyone else.