/base-laravel-project

My Own Base Laravel Project

Primary LanguagePHP

Build Status Total Downloads Latest Stable Version License

Documentation

We also have more detailed documentation in case you want to learn more on how we develop application with My Base Project documentation, there best practice for development, how we code, how we implement repository pattern and pipeline design pattern and many more..

Setup Project

1. Clone repository

> git clone git@github.com:rendyfutsuy/base-laravel-project.git
> cd base-laravel-project

2. Install Dependencies

> composer install
> yarn install

3. Setup Environment Files

copy .env from .env.example, copy .env.testing from .env.testing.example, copy phpunit.xml from phpunit.xml.example and generate app key for laravel

> php artisan setup:environment

4. Initial Setup

Prepare database migration and seeder for local database, generate authentification key (passport) and finally compile Dependencies for Frontend.

> php artisan local:initial-setup

5. Run Test

Run Local Test to assert all code and setup all work without any fail attempt.

> php artisan local:test

in case there an error for code indexi, we can fix it with this also re-run all test again

> php artisan local:test --with-code-fix

Contributor


Rendy Anggara

💻

©2022 Besar Kecil Group. ALL RIGHT RESERVED.