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.
This package must be used in a NEW Laravel project. Existing project functionalities, such as routes or controllers, may be overridden by Dotzonestarters.
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
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.
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`.
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).
In the current version, there is 1 theme supported.
Bootstrap Themes with Laravel UI
In the current version, there is 1 role-based access control package supported.