Skip to content

Commit 18a4d94

Browse files
authored
Merge pull request #313 from connorabbas/develop
Updates for v1
2 parents be32b7f + 0a9f3f9 commit 18a4d94

File tree

5 files changed

+426
-389
lines changed

5 files changed

+426
-389
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"
@@ -17,12 +17,12 @@
1717
},
1818
"require-dev": {
1919
"fakerphp/faker": "^1.23",
20+
"larastan/larastan": "^3.4",
2021
"laravel/pail": "^1.2.2",
2122
"laravel/pint": "^1.13",
2223
"laravel/sail": "^1.41",
2324
"mockery/mockery": "^1.6",
2425
"nunomaduro/collision": "^8.6",
25-
"nunomaduro/larastan": "^3.3",
2626
"phpstan/phpstan": "^2.1",
2727
"phpunit/phpunit": "^11.5.3"
2828
},
@@ -31,7 +31,10 @@
3131
"App\\": "app/",
3232
"Database\\Factories\\": "database/factories/",
3333
"Database\\Seeders\\": "database/seeders/"
34-
}
34+
},
35+
"files": [
36+
"app/helpers.php"
37+
]
3538
},
3639
"autoload-dev": {
3740
"psr-4": {
@@ -58,6 +61,10 @@
5861
"dev": [
5962
"Composer\\Config::disableProcessTimeout",
6063
"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"
64+
],
65+
"test": [
66+
"@php artisan config:clear --ansi",
67+
"@php artisan test"
6168
]
6269
},
6370
"extra": {

0 commit comments

Comments
 (0)