Skip to content
This repository was archived by the owner on Aug 10, 2025. It is now read-only.

Commit eb452ab

Browse files
committed
Add complete functionality
1 parent 2780632 commit eb452ab

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+6681
-77
lines changed

components.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "default",
4+
"rsc": false,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "tailwind.config.js",
8+
"css": "resources/css/index.css",
9+
"baseColor": "slate",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"aliases": {
14+
"components": "@/components",
15+
"utils": "@/lib/utils"
16+
}
17+
}

composer.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@
1313
"name": "Luminarix Labs",
1414
"email": "[email protected]",
1515
"role": "Developer"
16+
},
17+
{
18+
"name": "Lajos Gere",
19+
"email": "[email protected]",
20+
"role": "Developer"
21+
},
22+
{
23+
"name": "Mark Magyar",
24+
"email": "[email protected]",
25+
"role": "Developer"
1626
}
1727
],
1828
"require": {

config/web-tinker.php

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
<?php
22

3-
// config for Luminarix/LaravelWebTinker
43
return [
4+
/*
5+
* The web tinker page will be available on this path.
6+
*/
7+
'path' => '/tinker',
8+
9+
/*
10+
* By default this package will only run in local development.
11+
* Do not change this, unless you know what you are doing.
12+
*/
13+
'enabled' => env('APP_ENV') === 'local',
14+
15+
/*
16+
* This class can modify the output returned by Tinker. You can replace this with
17+
* any class that implements \Luminarix\WebTinker\OutputModifiers\OutputModifier.
18+
*/
19+
'output_modifier' => Luminarix\LaravelWebTinker\OutputModifiers\PrefixDateTime::class,
20+
21+
/*
22+
* These middleware will be assigned to every WebTinker route, giving you the chance
23+
* to add your own middlewares to this list or change any of the existing middleware.
24+
*/
25+
'middleware' => [
26+
Illuminate\Cookie\Middleware\EncryptCookies::class,
27+
Illuminate\Session\Middleware\StartSession::class,
28+
Luminarix\LaravelWebTinker\Http\Middleware\Authorize::class,
29+
],
30+
31+
/*
32+
* If you want to fine-tune PsySH configuration specify
33+
* configuration file name, relative to the root of your
34+
* application directory.
35+
*/
36+
'config_file' => env('PSYSH_CONFIG', null),
537
];

database/factories/ModelFactory.php

Lines changed: 0 additions & 19 deletions
This file was deleted.

database/migrations/create_web_tinker_table.php.stub

Lines changed: 0 additions & 19 deletions
This file was deleted.

dist/assets/index-3wvudlc1.js

Lines changed: 177 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/assets/index-Dybe6mtc.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/img/favicon.png

12.1 KB
Loading

dist/index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<link rel="icon" href="/vendor/web-tinker/img/favicon.png" />
7+
<title>Tinker</title>
8+
<script type="module" crossorigin src="/vendor/web-tinker/assets/index-3wvudlc1.js"></script>
9+
<link rel="stylesheet" crossorigin href="/vendor/web-tinker/assets/index-Dybe6mtc.css">
10+
</head>
11+
<body>
12+
<div id="root" data-path="/tinker"></div>
13+
</body>
14+
</html>

index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<link rel="icon" href="/vendor/web-tinker/img/favicon.png" />
7+
<title>Tinker</title>
8+
</head>
9+
<body>
10+
<div id="root" data-path="/tinker"></div>
11+
<script type="module" src="/resources/js/main.tsx"></script>
12+
</body>
13+
</html>

0 commit comments

Comments
 (0)