dotzone / dotzonestarters
DotZone Starters is a package that contains all the basic files and folders that are needed to start a new project.
Installs: 43
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 2
Open Issues: 0
Language:JavaScript
Requires
- php: ^8.2|^8.1|^8.0|^7.4
- laravel/framework: ^10.0|^9.0
README
Get started |
Available Themes |
Generator |
Features |
Dotzone Group
Package that contains all the basic files and folders that are needed to start a new project.
Works only with the latest Laravel 9 for now.
The package suggests to install Laravel UI (Bootstrap) starter kit, and adds the chosen design theme on top, in addition to some features and generators.
❗
Important
This package must be used in a NEW Laravel project. Existing project functionalities, such as routes or controllers, may be overridden by Dotzonestarters.
Features
Along with the Design Themes, Dotzonestarters adds a few features that are typical for almost any project:
- Main Page
- Login/Register Pages
- A generator command
Get Started
Dotzonestarters requires PHP 8+ and Laravel 9+.
-
Create a new Laravel project.
-
Require Dotzonestarters as a dev dependency, run:
composer require dotzone/dotzonestarters --dev
-
Configure Dotzonestarters, run the command below:
php artisan dotzone-starter:install
Choose your preferred starter kit and Design Theme.
-
For Role Permission integration, choose yes once you see the question.
-
That's it! You have Laravel Auth starter, just visit the home page and click Log in / Register.
Developing within a container
Internally, this package runs several php artisan
commands during the installation process.
If you are developing with a container, like Laravel Sail or Docker, you can pass the --php_version
flag to change this behaviour and avoid problems in the installation process:
php artisan dotzone-starter:install --php_version=./vendor/bin/sail`.
Generator
To generate a new entity just run
php artisan dotzone-starter:generate {name}
where the name
is the model name. This command will excute the following actions:
- Create the model and migration
- Create Controller with ready made functions
- Create Store and Update Request
- Create views like index, table and modal
- Create custom Javascript file with ready made functions
- Add translation keys inside lang/en/messages.php
- Add custom menu to the sidebar menu list
- Add permission keys to the default permission seeder
All previews actions are generated for the management part of the webapp (Control Panel).
Available Themes
In the current version, there is 1 theme supported.
Bootstrap Themes with Laravel UI
Role Permissions
In the current version, there is 1 role-based access control package supported.