Skip to content

Commit 1f03fea

Browse files
authored
Feature/frontend (#762)
* Featherlight init * Featherlight wired
1 parent 1edc55c commit 1f03fea

28 files changed

+578
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
"alpinejs": "^3.0.6",
1313
"autoprefixer": "^10.4.7",
1414
"axios": "^1.0.0",
15-
"laravel-vite-plugin": "^1.0.0",
15+
"laravel-vite-plugin": "^1.2.0",
1616
"lodash": "^4.17.19",
1717
"postcss": "^8.4.14",
1818
"tailwindcss": "^3.1.0",
1919
"vite": "^6.0.0"
2020
}
21-
}
21+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# These are supported funding model platforms
2+
3+
github: [mooxphp]
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

packages/featherlight/.gitignore

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Environment
2+
.env
3+
.env.backup
4+
5+
# Composer
6+
/vendor
7+
composer.lock
8+
auth.json
9+
10+
# NPM / Node
11+
/node_modules
12+
npm-debug.log
13+
package-lock.json
14+
15+
# Laravel
16+
/public/hot
17+
/public/storage
18+
/storage/*.key
19+
20+
# PHPUnit
21+
.phpunit.result.cache
22+
phpunit.xml
23+
24+
# Yarn
25+
yarn-error.log
26+
27+
# PHPStan
28+
/build
29+
phpstan.neon
30+
31+
# Testbench
32+
testbench.yaml
33+
/workbench/*
34+
35+
# PHP CS Fixer
36+
.php-cs-fixer.cache
37+
38+
# Homestead
39+
Homestead.json
40+
Homestead.yaml
41+
42+
# IDEs
43+
/.idea
44+
/.vscode
45+
46+
# MacOS
47+
.DS_Store
48+
49+
# Windows
50+
Thumbs.db

packages/featherlight/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Changelog
2+
3+
We currently don't track changes in this package. Please refer to the [Moox Monorepo](https://github.com/mooxphp/moox) for the latest changes.

packages/featherlight/LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) Moox <[email protected]>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

packages/featherlight/README.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
![Moox Featherlight](https://github.com/mooxphp/moox/raw/main/art/banner/made-with-moox.jpg)
2+
3+
# Moox Featherlight Theme
4+
5+
This is our base theme Moox Featherlight. It is built upon:
6+
7+
- [TailwindCSS 4.0](https://tailwindcss.com)
8+
- [DaisyUI 5](https://daisyui.com/)
9+
- [AlpineJS 3](https://alpinejs.dev)
10+
- [Alpine-Ajax](https://alpine-ajax.js.org/)
11+
12+
## Features
13+
14+
<!--features-->
15+
16+
- Fast
17+
- Faster
18+
- Featherligth
19+
20+
<!--/features-->
21+
22+
## Requirements
23+
24+
See [Requirements](https://github.com/mooxphp/moox/blob/main/docs/Requirements.md).
25+
26+
## Installation
27+
28+
```bash
29+
composer require moox/featherlight
30+
php artisan moox:install
31+
```
32+
33+
Curious what the install command does? See [Installation](https://github.com/mooxphp/moox/blob/main/docs/Installation.md).
34+
35+
## Screenshot
36+
37+
![Moox Featherlight](https://github.com/mooxphp/moox/raw/main/art/screenshots/made-with-moox.jpg)
38+
39+
## Get Started
40+
41+
See [Get Started](docs/GetStarted.md).
42+
43+
## User Guide
44+
45+
See [User Guide](docs/UserGuide.md).
46+
47+
## Integration
48+
49+
See [Integration](docs/Integration.md).
50+
51+
## Changelog
52+
53+
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
54+
55+
## Roadmap
56+
57+
Please see [ROADMAP](ROADMAP.md) for more information on what is planned for this package.
58+
59+
## Security
60+
61+
Please review [our security policy](https://github.com/mooxphp/moox/security/policy) on how to report security vulnerabilities.
62+
63+
## Credits
64+
65+
Thanks to so many [people for their contributions](https://github.com/mooxphp/moox#contributors) to this package.
66+
67+
## License
68+
69+
The MIT License (MIT). Please see [our license and copyright information](https://github.com/mooxphp/moox/blob/main/LICENSE.md) for more information.

packages/featherlight/ROADMAP.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Roadmap
2+
3+
## Current tasks
4+
5+
- [ ] Create that package

packages/featherlight/SECURITY.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
We maintain the current version of `Moox Featherlight` actively.
6+
7+
Do not expect security fixes for older versions.
8+
9+
## Reporting a Vulnerability
10+
11+
If you find any security-related bug, please report it to [email protected].
12+
13+
Please do not use Github issues, to give us enough time to review and fix the issue, before others can use it, to do stupid things.
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
{
2+
"name": "moox/featherlight",
3+
"description": "This is my package featherlight",
4+
"keywords": [
5+
"Moox",
6+
"Laravel",
7+
"Filament",
8+
"Moox package",
9+
"Laravel package"
10+
],
11+
"homepage": "https://moox.org/docs/featherlight",
12+
"license": "MIT",
13+
"authors": [
14+
{
15+
"name": "Moox Developer",
16+
"email": "[email protected]",
17+
"role": "Developer"
18+
}
19+
],
20+
"require": {
21+
"moox/core": "*"
22+
},
23+
"autoload": {
24+
"psr-4": {
25+
"Moox\\Featherlight\\": "src",
26+
"Moox\\Featherlight\\Database\\Factories\\": "database/factories"
27+
}
28+
},
29+
"extra": {
30+
"laravel": {
31+
"providers": [
32+
"Moox\\Featherlight\\FeatherlightServiceProvider"
33+
]
34+
}
35+
},
36+
"minimum-stability": "stable",
37+
"prefer-stable": true,
38+
"require-dev": {
39+
"orchestra/testbench": "^9.5",
40+
"pestphp/pest": "^3.2",
41+
"pestphp/pest-plugin-livewire": "^3.0",
42+
"pestphp/pest-plugin-laravel": "^3.0",
43+
"ryangjchandler/blade-capture-directive": "^1.0"
44+
},
45+
"autoload-dev": {
46+
"psr-4": {
47+
"Moox\\Featherlight\\Tests\\": "tests",
48+
"Moox\\Featherlight\\Database\\Factories\\": "database/factories",
49+
"Workbench\\App\\": "workbench/app/",
50+
"Workbench\\Database\\Factories\\": "workbench/database/factories/",
51+
"Workbench\\Database\\Seeders\\": "workbench/database/seeders/"
52+
}
53+
},
54+
"scripts": {
55+
"post-autoload-dump": [
56+
"@clear",
57+
"@prepare"
58+
],
59+
"clear": "@php vendor/bin/testbench package:purge-featherlight --ansi",
60+
"prepare": "@php vendor/bin/testbench package:discover --ansi",
61+
"build": "@php vendor/bin/testbench workbench:build --ansi",
62+
"serve": [
63+
"Composer\\Config::disableProcessTimeout",
64+
"@build",
65+
"@php vendor/bin/testbench serve --ansi"
66+
],
67+
"lint": [
68+
"@php vendor/bin/phpstan analyse --verbose --ansi"
69+
],
70+
"test": [
71+
"@php vendor/bin/phpunit"
72+
]
73+
},
74+
"config": {
75+
"allow-plugins": {
76+
"pestphp/pest-plugin": true
77+
}
78+
}
79+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
/*
4+
|--------------------------------------------------------------------------
5+
| Moox Configuration
6+
|--------------------------------------------------------------------------
7+
|
8+
| This configuration file uses translatable strings. If you want to
9+
| translate the strings, you can do so in the language files
10+
| published from moox_core. Example:
11+
|
12+
| 'trans//core::core.all',
13+
| loads from common.php
14+
| outputs 'All'
15+
|
16+
*/
17+
18+
return [];

0 commit comments

Comments
 (0)