Skip to content

Commit 884c78e

Browse files
committed
Merge branch 'master' of github.com:connorabbas/laravel-inertia-primevue into admin-role-dev
2 parents e582d3c + 18a4d94 commit 884c78e

File tree

5 files changed

+350
-308
lines changed

5 files changed

+350
-308
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
APP_NAME=Laravel
1+
APP_NAME="Laravel + PrimeVue"
22
APP_ENV=local
33
APP_KEY=
44
APP_DEBUG=true

app/helpers.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
/**
4+
* Define any globally available helpers
5+
*/
6+
7+
if (!function_exists('example')) {
8+
function example(): void
9+
{
10+
// ...
11+
}
12+
}

composer.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://getcomposer.org/schema.json",
33
"name": "laravel/laravel",
44
"type": "project",
5-
"description": "The skeleton application for the Laravel framework.",
5+
"description": "Laravel + PrimeVue Starter Kit",
66
"keywords": [
77
"laravel",
88
"framework"
@@ -19,12 +19,12 @@
1919
},
2020
"require-dev": {
2121
"fakerphp/faker": "^1.23",
22+
"larastan/larastan": "^3.4",
2223
"laravel/pail": "^1.2.2",
2324
"laravel/pint": "^1.13",
2425
"laravel/sail": "^1.41",
2526
"mockery/mockery": "^1.6",
2627
"nunomaduro/collision": "^8.6",
27-
"nunomaduro/larastan": "^3.3",
2828
"phpstan/phpstan": "^2.1",
2929
"phpunit/phpunit": "^11.5.3"
3030
},
@@ -33,7 +33,10 @@
3333
"App\\": "app/",
3434
"Database\\Factories\\": "database/factories/",
3535
"Database\\Seeders\\": "database/seeders/"
36-
}
36+
},
37+
"files": [
38+
"app/helpers.php"
39+
]
3740
},
3841
"autoload-dev": {
3942
"psr-4": {
@@ -60,6 +63,10 @@
6063
"dev": [
6164
"Composer\\Config::disableProcessTimeout",
6265
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite"
66+
],
67+
"test": [
68+
"@php artisan config:clear --ansi",
69+
"@php artisan test"
6370
]
6471
},
6572
"extra": {

0 commit comments

Comments
 (0)