Download the PHP package buyownex/canvas without Composer
On this page you can find all versions of the php package buyownex/canvas. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download buyownex/canvas
More information about buyownex/canvas
Files in buyownex/canvas
Package canvas
Short Description A Laravel publishing platform
License MIT
Homepage https://buyownex.com
Informations about the package canvas
Introduction
Canvas is a fully open source package to extend your existing Laravel application and get you up-and-running with a blog in just a few minutes. In addition to a distraction-free writing experience, you can view monthly trends on your content, get insights into reader traffic and more!
Requirements
- PHP >= 7.2
- Laravel >= 6.0
- One of the four supported databases by Laravel
Installation
Note: Canvas requires you to have user authentication in place prior to installation. Please see the official guide to get started.
You may use composer to install Canvas into your Laravel project:
Publish the assets and primary configuration file using the canvas:install
Artisan command:
Create a symbolic link to ensure file uploads are publicly accessible from the web using the storage:link
Artisan command:
Configuration
After publishing Canvas's assets, a primary configuration file will be located at config/canvas.php
. This file allows you to customize various aspects of how your application uses the package.
Canvas exposes its UI at /canvas
by default. This can be changed by updating the path
option:
If your application has a custom User model, define the fully-qualified path in the user
option:
Sometimes, you may want to apply role or permission-based access to Canvas. You can create and attach any additional middleware here:
Canvas uses the storage disk for media uploads. You may configure the different filesystem options here:
Available Options
Note: The following features are completely optional, you are not required to use them.
Frontend
While Canvas does not dictate a specific design for your frontend, it does provide a basic starting point using Bootstrap and Vue that will be helpful for many applications. The scaffolding is located in the cnvs/studio
Composer package, which may be installed using Composer:
Once the cnvs/studio
package has been installed, you may install the frontend scaffolding using the studio:install
Artisan command:
After installing the cnvs/studio
Composer package and generating the frontend scaffolding, your package.json
file will include the necessary dependencies to install and compile:
Unsplash
Want access to the entire Unsplash library? Set up a new application at https://unsplash.com/oauth/applications, grab your access key, and update config/canvas.php
:
Weekly Digest
Want a weekly summary? Canvas allows users to receive a weekly summary of their authored content. Once your application is configured for sending mail, update config/canvas.php
:
Since the weekly digest runs on Laravel's Scheduler, you'll need to add the following cron entry to your server:
Updates
Canvas loosely follows Semantic Versioning and increments versions as MAJOR.MINOR.PATCH
numbers
- A major or minor version can contain breaking changes, so follow the upgrade guide for a step-by-step breakdown
- Patch versions will remain backwards compatible, so you can safely update the package by following the steps below:
You may update your Canvas installation using composer:
Run any new migrations using the migrate
Artisan command:
Re-publish the assets using the canvas:publish
Artisan command:
Contributing
Thank you for considering contributing to Canvas! You can use the contribution guide to assist you in setting up the package for development.
Testing
Run the tests with:
Translate
One of the goals for the team behind Canvas is to ensure proper localization across the app. If you come across any translation mistakes or issues and want to make a contribution, please create a pull request. If you don't see your native language included in the resources/lang
directory, feel free to add it.
License
Canvas is open-sourced software licensed under the MIT license.
Credits
All versions of canvas with dependencies
ext-json Version *
doctrine/dbal Version ^2.10
laravel/framework Version ^6.0|^7.0