andrefigueira / laralite-skeleton
The Laralite skeleton project
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 1
Type:project
Requires
- php: ^7.3
- ext-json: *
- andrefigueira/laralite-module: ^1.0
- fideloper/proxy: ^4.0
- guzzlehttp/guzzle: ^6.5
- joshbrw/laravel-module-installer: ^0.1.4
- laracasts/flash: ^3.1
- laravel/framework: ^7.0
- laravel/passport: ^9.2
- laravel/sanctum: ^2.4
- laravel/tinker: ^2.0
- nwidart/laravel-modules: ^7.2
- pragmarx/countries: ^0.7.0
- rollbar/rollbar-laravel: ^6.0
- spatie/laravel-newsletter: ^4.8
Requires (Dev)
- barryvdh/laravel-ide-helper: ^2.6
- facade/ignition: ^2.0
- fzaninotto/faker: ^1.9.1
- laravel/ui: ^2.0
- mockery/mockery: ^1.0
- nunomaduro/collision: ^4.1
- phpunit/phpunit: ^8.5
This package is auto-updated.
Last update: 2024-10-25 02:41:56 UTC
README
Laralite Skeleton
This is the Laralite skeleton project, with the basic template for getting started with a Laralite project.
Technologies used
- PHP 7.3+
- Composer
- NPM
- Laravel 7
- Laravel Passport for oAuth
- Linux (Ubuntu)
How to compile assets
Asset compilation is handled by Laravel mix, and configured in the ./webpack.mix.js
file, documentation can be found here.
How to setup project
- Setup Valet environment locally
- Setup database
- Copy
.env.example
and update values to relevant values - Run commands below...
// Install PHP dependencies
composer install -a
// Install JavaScript dependencies
npm install
// Compile assets
npm run dev
// Compile Laralite assets
cd Modules/Laralite/
npm install
npm run dev
// Run database migrations
artisan migrate
// Run passport install
artisan passport:install
In addition, for initial deployment the keys for authentication need to be registered, this is done with the following;
artisan passport:keys
Install sanctum
artisan vendor:publish --provider="Laravel\Sanctum\SanctumServiceProvider"
artisan migrate