This repository serves as a dedicated space for crafting Laravel Onion templates, adhering to the foundational principles of the Model-View-Controller (MVC) architecture. It is designed to streamline the process of creating organized and scalable web applications
This repository serves as a dedicated space for crafting Laravel Onion templates, adhering to the foundational principles of the Model-View-Controller (MVC) architecture. It is designed to streamline the process of creating organized and scalable web applications. The goal is to provide a focused environment that simplifies the development of well-structured projects within the Laravel framework. By offering this dedicated space, the aim is to enhance efficiency in the development process, resulting in robust and scalable web applications.
git clone .... OR use the template
# Install dependencies
composer install
yarn
cp .env.example .env
php artisan key:generate
php artisan migrate
php artisan serve
This website follows Conventional Commits
Commit message will be checked using husky and commit lint, you can't commit if not using the proper convention below.
<type>(optional scope): <description>
Example: feat(pre-event): add speakers section
Available types are:
feat: add table on landing page
, feat: remove table from landing page
fix: illustration overflows in mobile view
vercel: trigger deployment
Labels per page Ex: feat(pre-event): add date label
*If there is no scope needed, you don't need to write it
Description must fully explain what is being done.
Add BREAKING CHANGE in the description if there is a significant change.
If there are multiple changes, then commit one by one
feat: add something
fix
type, state the issue Ex: fix: file size limiter not working
to clean code and setup spaces you can see .prettierrc
for all file except php and .editorconfig
for php.
on .prettierrc
-> all files
{
"semi": false,
"singleQuote": true,
"printWidth": 80,
"tabWidth": 2, # change it according to your wishes
"trailingComma": "all",
"endOfLine": "auto"
}
yarn prettierrc
on main
directory, run:
./vendor/bin/pint
- run -> ./vendor/bin/pint
- run -> yarn prettierrc
- git add .
- git commit -m (message commit and don't forget to precommit as specified)
- git push