timedoor / baskito
Laravel Starter Kit with InertiaJS and Vue 3
Installs: 66
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 4
Open Issues: 0
Type:project
pkg:composer/timedoor/baskito
Requires
- php: ^8.1
- diglactic/laravel-breadcrumbs: ^8.1
- guzzlehttp/guzzle: ^7.2
- inertiajs/inertia-laravel: ^0.6.4
- innocenzi/laravel-vite: 0.3.*
- jeremykenedy/laravel-roles: ^10.0
- laravel/framework: ^10.10
- laravel/sanctum: ^3.2
- laravel/tinker: ^2.7
- laravel/ui: ^4.1
- swayok/alternative-laravel-cache: ^6.1
- swayok/cache-filesystem-adapter: ^1.3
- tightenco/ziggy: ^1.5
- timedoor/laravel-role-js: ^0.1.1
Requires (Dev)
- barryvdh/laravel-debugbar: ^3.7
- barryvdh/laravel-ide-helper: ^2.13
- fakerphp/faker: ^1.9.1
- laravel/pint: ^1.0
- laravel/sail: ^1.0.1
- mockery/mockery: ^1.4.4
- nunomaduro/collision: ^7.0
- nunomaduro/larastan: ^2.4
- phpunit/phpunit: ^10.1
- spatie/laravel-ignition: ^2.0
README
About Baskito
Baskito stands for Backend Starter Kit Task Force that Timedoor Backend Developer built to improve development time for the admin page with a standardized tech stack and components built on Laravel 9 :
Prerequisites
Before starting a Baskito project, you need to install this program on your computer to match the Baskito tech stack.
Dependencies
Besides the package that is already built-in with Laravel, here's the list of installed dependencies within this project.
PHP
inertiajs/inertia-laravel : ^0.6.4docsinnocenzi/laravel-vite: 0.2.*docslaravel/ui: ^4.1docstightenco/ziggy: ^1.5docsbarryvdh/laravel-debugbar: ^3.7docs
Javascript
@types/bootstrap: ^5.2.6docs@types/jquery: ^3.5.14docs@types/ziggy-js: ^1.3.2docs@types/select2: ^4.0.56docs@typescript-eslint/eslint-plugin: ^5.46.1docs@typescript-eslint/parser: ^5.46.1docs@vitejs/plugin-vue: ^3.2.0docs@vue/compiler-sfc: ^3.2.45docseslint: ^8.29.0docseslint-config-prettier: ^8.5.0docseslint-plugin-vue: ^9.8.0docsprettier: ^2.8.1docssass: ^1.56.1docsvite: ^3.2.5docsvite-plugin-laravel: ^3.2.5docsvue-eslint-parser: ^9.1.0docs@inertiajs/inertia: ^0.11.1docs@inertiajs/inertia-vue3: ^0.6.0docs@inertiajs/progress: ^0.2.7docsvue: ^3.2.36docsziggy-js: ^1.5.0docs
Installation
PHP
First, you need to install all PHP package requirements.
composer install
Copy and paste the .env.example file into .env this project and generate APP_KEY.
cp .env.example .env php artisan key:generate
Create and set your database configuration in the .env file then run the database migration and seeder.
php artisan migrate --seed
Javascript
Install Javascript package dependencies.
npm install
Run Vite for development.
npm run dev
Build Vite.
npm run build
Settings
Vite
Set DEV_SERVER_URL setting in .env to match your local project URL and add a port for Vite to it.
DEV_SERVER_URL=http://baskito.test:4000
Vite SSL
If you use HTTPS for DEV_SERVER_URL while using Laragon that is not placed in the default folder (C:\laragon) or somehow have an SSL error, you must specify the SSL key and certificate file path in the DEV_SERVER_KEY and DEV_SERVER_CERT settings in the .env.
DEV_SERVER_KEY="D:\\laragon\\etc\\ssl\\laragon.key" DEV_SERVER_CERT="D:\\laragon\\etc\\ssl\\laragon.crt"