seongbae / canvas
A Laravel 10 admin panel package.
Requires
- appstract/laravel-options: ^6.0
- intervention/image: ^2.5@dev
- laravel/ui: ^4.2
- rap2hpoutre/laravel-log-viewer: ^2.0
- spatie/laravel-flash: ^1.0
- spatie/laravel-permission: ^6.0
- spatie/laravel-tags: ^4.0
- stripe/stripe-php: ^7.0
- yajra/laravel-datatables: ^11
- yajra/laravel-datatables-oracle: ^11
- dev-master
- 1.9.1
- 1.9
- 1.8.3
- 1.8.2
- 1.8.1
- 1.8
- 1.7
- 1.6
- 1.5
- 1.4
- 1.3.1
- 1.3
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1
- 1.0.x-dev
- 1.0.2
- 1.0.1
- 1.0
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2
- 0.1.18
- v0.1.17-beta
- v0.1.16-beta
- v0.1.15-beta
- v0.1.14-beta
- v0.1.13-beta
- v0.1.12-beta
- v0.1.11-beta
- v0.1.10-beta
- v0.1.9-beta
- v0.1.8-beta
- v0.1.7-beta
- v0.1.6-beta
- v0.1.5-beta
- v0.1.4-beta
- v0.1.3-beta
- v0.1.2-beta
- v0.1.1-beta
- v0.1-beta
- dev-dependabot/composer/laravel/framework-11.44.2
- dev-dependabot/composer/laravel/framework-11.44.1
- dev-update
- dev-develop
- dev-canvasofhope
This package is auto-updated.
Last update: 2025-03-12 22:46:58 UTC
README
Canvas is an admin panel built with Laravel. It comes with admin dashboard for managing users, roles & permissions, media items, simple pages, and system logs.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Installing
Create a new Laravel application:
laravel new blog
Update .env with database connection information.
Install Canvas via Composer:
composer require seongbae/canvas
Create a database, update .env and run migration:
php artisan migrate
Run the Canvas installer:
php artisan canvas:install
Link storage folder:
php artisan storage:link
The installer runs the migrations, creates storage symlink, publishes package files, and seed the database with initial data.
At this point, visit your app URL and log in with:
Username: admin@admin.com
Password: password
Optionally, you can publish vendor files:
php artisan vendor:publish --provider "Seongbae\Canvas\CanvasServiceProvider"
Generating CRUD
Below command and syntax is taken from the Crudify project.
Run canvas:generate
for a new model:
php artisan canvas:generate Model
This will generate:
- Controller
- Datatable
- Form Request
- Model
- Factory
- Migration
- Seeder
- View Files
- Navbar Link
- Routes
Don't forget to migrate after updating the new migration file.
Tip: use the --force
in order to replace existing generated files e.g. php artisan canvas:generate Model --force
Tip: use the --admin
to have a menu item created in the backend.
To Do
- E-mail verification - new user registration and when users change their email
- SEO Support - generate sitemap, meta data update
- REST API support - include API resource when generating a new model
- Translation
Built With
Contributing
Please read CONTRIBUTING for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Seong Bae - seong@lnidigital.com
License
This project is licensed under the MIT License.