You may save your time to setup your project. You can start your project using this template where we have used Laravel 10.x and CoreUI out of the box Bootstrap.
As you may know, Laravel transitioned to yearly releases with the release of Laravel 8. Previously, major versions were released every 6 months. This transition is intended to ease the maintenance burden on the community and challenge our development team to ship amazing, powerful new features without introducing breaking changes. Therefore, we have shipped a variety of robust features to Laravel 9 without breaking backwards compatibility.
Therefore, this commitment to ship great new features during the current release will likely lead to future "major" releases being primarily used for "maintenance" tasks such as upgrading upstream dependencies, which can be seen in these release notes.
Laravel 10 continues the improvements made in Laravel 9.x by introducing argument and return types to all application skeleton methods, as well as all stub files used to generate classes throughout the framework. In addition, a new, developer-friendly abstraction layer has been introduced for starting and interacting with external processes. Further, Laravel Pennant has been introduced to provide a wonderful approach to managing your application's "feature flags".
Laravel 10.x requires a minimum PHP version of 8.1.
- User Authentication
- Role-Permissions for Users
- Bootstrap 5, CoreUI
- Landing Page
- Tailwind
Follow the steps mentioned below to install and run the project.
- Clone or download the repository
- Go to the project directory (cd laavel-coreui) and run
composer install
andnpm install
- It will install all the laravel (PHP) packages by the command
composer install
(if you do not havecomposer
then install it - https://getcomposer.org/download/) - It will install all the NPM packages by the command
npm install
(if you do not have npm then install it - https://nodejs.org/en/download)
- It will install all the laravel (PHP) packages by the command
- Create
.env
file by copying the.env.example
. You may use the command to do thatcp .env.example .env
- Run the command
composer run-script post-create-project-cmd
to APP_KEY - Update the database name and credentials in
.env
file - Run the command
php artisan migrate --seed
- Run the command
php artisan db:seed --class=UserSeeder
to create user, it will generate super adminsuper@admin.com
and the password issecret
- Link storage directory:
php artisan storage:link
- You may create a virtualhost entry to access the application or run
php artisan serve
from the project root and visithttp://127.0.0.1:8000
OR
Using the Docker, you may run the project
- docker-compose up
Important note: if you get broken page then run the command npm run dev
or npm run build
The Laravel framework is open-sourced software licensed under the MIT license.