Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
1716026
feat(Form Component): refactor to handle boolean types
Abdulmajeed-Jamaan Jun 4, 2025
4053a9f
feat(migrations): set the proper value column type per mark
Abdulmajeed-Jamaan Jun 4, 2025
588f847
chore(deps): bump stefanzweifel/git-auto-commit-action from 5 to 6
dependabot[bot] Jun 16, 2025
43722d6
feat(colors & icons): handle Closure and Arrayable parameters types
Abdulmajeed-Jamaan Jun 17, 2025
253ac47
Merge pull request #48 from lara-zeus/dependabot/github_actions/stefa…
atmonshi Jun 24, 2025
c9055de
feat: create mark blade component
Abdulmajeed-Jamaan Jul 5, 2025
6db675b
refactor: use mark blade component
Abdulmajeed-Jamaan Jul 5, 2025
b9eb76d
chore(deps): bump aglipanci/laravel-pint-action from 2.5 to 2.6
dependabot[bot] Jul 28, 2025
8cff3c0
Merge pull request #49 from lara-zeus/dependabot/github_actions/aglip…
github-actions[bot] Jul 28, 2025
f9725ed
chore(deps): bump actions/checkout from 4 to 5
dependabot[bot] Aug 25, 2025
57cc208
W.I.P
Abdulmajeed-Jamaan Aug 29, 2025
34319b8
Fix styling
Abdulmajeed-Jamaan Aug 29, 2025
77b96f2
Update composer.json
Abdulmajeed-Jamaan Aug 29, 2025
bff9182
Merge branch '40-filament-form-component' of https://github.com/lara-…
Abdulmajeed-Jamaan Aug 29, 2025
42bb1c5
Direct redirect to the component
Abdulmajeed-Jamaan Aug 29, 2025
e0bbd56
Fix styling
Abdulmajeed-Jamaan Aug 29, 2025
b4785bd
chore: move styles from inline html to css file
Abdulmajeed-Jamaan Aug 29, 2025
e24f011
Merge branch '40-filament-form-component' of https://github.com/lara-…
Abdulmajeed-Jamaan Aug 29, 2025
d6ca7ea
fix: make models unguarded by default for the demo
Abdulmajeed-Jamaan Aug 29, 2025
575d298
Fix styling
Abdulmajeed-Jamaan Aug 29, 2025
2ebd8de
move tests to demo app
Abdulmajeed-Jamaan Aug 30, 2025
2a966c0
Fix styling
Abdulmajeed-Jamaan Aug 30, 2025
a01e740
move larastan and pint to the demo as well
Abdulmajeed-Jamaan Aug 30, 2025
6887df7
reformat
Abdulmajeed-Jamaan Aug 30, 2025
7fd9fc0
chore: setup after install as well
Abdulmajeed-Jamaan Aug 30, 2025
4815a19
chore: alias dev script
Abdulmajeed-Jamaan Aug 30, 2025
c5f293d
chore: add setup script alias
Abdulmajeed-Jamaan Aug 30, 2025
2c62c87
refactor: scale class condition
Abdulmajeed-Jamaan Aug 30, 2025
3d9e6da
Fix styling
Abdulmajeed-Jamaan Aug 30, 2025
c32259b
Table component done
Abdulmajeed-Jamaan Sep 12, 2025
56b3d19
Fix styling
Abdulmajeed-Jamaan Sep 12, 2025
df22440
composer lint
Abdulmajeed-Jamaan Sep 12, 2025
952bed7
Merge branch '40-filament-form-component' of https://github.com/lara-…
Abdulmajeed-Jamaan Sep 12, 2025
11888e8
Fix styling
Abdulmajeed-Jamaan Sep 12, 2025
8eeb115
handle readonly state for infolist
Abdulmajeed-Jamaan Sep 13, 2025
8ad2f4b
Fix styling
Abdulmajeed-Jamaan Sep 13, 2025
35e0df5
Update mark.blade.php
Abdulmajeed-Jamaan Sep 13, 2025
1ca479b
feat: add infolists component
Abdulmajeed-Jamaan Sep 13, 2025
eb149ae
Fix styling
Abdulmajeed-Jamaan Sep 13, 2025
6a51495
fix
Abdulmajeed-Jamaan Sep 13, 2025
578a668
fix phpstan workflow
Abdulmajeed-Jamaan Sep 13, 2025
9800d0c
Update phpstan.yml
Abdulmajeed-Jamaan Sep 13, 2025
cb7483e
Update composer.json
Abdulmajeed-Jamaan Sep 13, 2025
c669420
Update phpstan.yml
Abdulmajeed-Jamaan Sep 13, 2025
986c60a
Update phpstan.yml
Abdulmajeed-Jamaan Sep 13, 2025
814fbad
Update phpstan.yml
Abdulmajeed-Jamaan Sep 13, 2025
a00454a
Update phpstan.yml
Abdulmajeed-Jamaan Sep 13, 2025
248d225
Update phpstan.yml
Abdulmajeed-Jamaan Sep 13, 2025
f52842d
Update phpstan.yml
Abdulmajeed-Jamaan Sep 13, 2025
8f1a6ef
fix
Abdulmajeed-Jamaan Sep 13, 2025
48ccda6
Merge pull request #50 from lara-zeus/dependabot/github_actions/actio…
Abdulmajeed-Jamaan Sep 13, 2025
ec9a8ef
Merge branch '1.x' into 40-filament-form-component
Abdulmajeed-Jamaan Sep 13, 2025
7ff7dfe
ci: workflows naming and commands
Abdulmajeed-Jamaan Sep 13, 2025
6f14383
style: run laravel pint
Abdulmajeed-Jamaan Sep 13, 2025
c9c8499
fix: update git ignore
Abdulmajeed-Jamaan Sep 13, 2025
1636ae6
Update pest.yml
Abdulmajeed-Jamaan Sep 13, 2025
01097be
Update pest.yml
Abdulmajeed-Jamaan Sep 13, 2025
0ede91c
ci: fix test workflow
Abdulmajeed-Jamaan Sep 13, 2025
314528b
fix: handle bookmark breaking changes with docs
Abdulmajeed-Jamaan Sep 13, 2025
5b06262
style: fix wording
Abdulmajeed-Jamaan Sep 13, 2025
192b134
Update CommentResource.php
Abdulmajeed-Jamaan Sep 13, 2025
a59628c
style: run laravel pint
Abdulmajeed-Jamaan Sep 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
/.php_cs.dist.php export-ignore
/.vscode export-ignore
/art export-ignore
/demo export-ignore
/docs export-ignore
/images export-ignore
/tests export-ignore
Expand Down
27 changes: 0 additions & 27 deletions .github/workflows/fix-php-code-style-issues.yml

This file was deleted.

16 changes: 11 additions & 5 deletions .github/workflows/phpstan.yml → .github/workflows/larastan.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
name: PHPStan
name: Larastan

on:
push:
paths:
- '**.php'
- '**.neon.dist'
- '**.neon'
- '.github/workflows/larastan.yml'
workflow_dispatch:


jobs:
phpstan:
name: phpstan (PHP ${{ matrix.php }})
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.2, 8.3]
php: [8.3]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -24,6 +27,9 @@ jobs:

- name: Install composer dependencies
uses: ramsey/composer-install@v3
with:
working-directory: "demo"

- name: Run PHPStan
run: ./vendor/bin/phpstan --error-format=github
working-directory: "demo"
run: composer analyse -- --error-format=github
28 changes: 12 additions & 16 deletions .github/workflows/run-tests.yml → .github/workflows/pest.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
name: run-tests
name: Pest

on:
push:
branches: [1.x]
paths:
- '**.php'
pull_request:
branches: [1.x]
paths:
- '**.php'
- '.github/workflows/pest.yml'
workflow_dispatch:

jobs:
Expand All @@ -17,23 +13,19 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.2,8.3,8.4]
os: [ubuntu-latest]
php: [8.3,8.4]
laravel: [11.*,12.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 11.*
testbench: 9.*
carbon: 3.*
- laravel: 12.*
testbench: 10.*
carbon: 3.*

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -43,17 +35,21 @@ jobs:
coverage: none

- name: Setup problem matchers
working-directory: demo
run: |
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: Install dependencies
working-directory: demo
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction

- name: List Installed Dependencies
working-directory: demo
run: composer show -D

- name: Execute tests
run: vendor/bin/pest --ci
working-directory: demo
run: composer test -- --compact
35 changes: 35 additions & 0 deletions .github/workflows/pint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Pint

on:
push:
paths:
- '**.php'
- 'demo/pint.json'
- '.github/workflows/pint.yml'

permissions:
contents: write

jobs:
php-code-styling:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v5
with:
ref: ${{ github.head_ref }}

- name: Install composer dependencies
uses: ramsey/composer-install@v3
with:
working-directory: "demo"

- name: Run PHPStan
working-directory: "demo"
run: composer lint

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v6
with:
commit_message: 'style: run laravel pint'
31 changes: 0 additions & 31 deletions .github/workflows/update-changelog.yml

This file was deleted.

60 changes: 49 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,51 @@
/.phpunit.cache
build/report.junit.xml
/node_modules
/public/build
/public/hot
/public/storage
/storage/*.key
/storage/pail
/vendor
composer.lock
.DS_Store
.idea
.env
.env.backup
.env.production
.phpactor.json
.phpunit.result.cache
.phpunit.cache
.vscode
composer.lock
build
coverage
node_modules
phpunit.xml
phpstan.neon
testbench.yaml
vendor
Homestead.json
Homestead.yaml
npm-debug.log
yarn-error.log
/auth.json
/.fleet
/.idea
/.nova
/.vscode
/.zed


demo/.phpunit.cache
demo/node_modules
demo/public/build
demo/public/hot
demo/public/storage
demo/storage/*.key
demo/storage/pail
demo/vendor
demo/.env
demo/.env.backup
demo/.env.production
demo/.phpactor.json
demo/.phpunit.result.cache
demo/Homestead.json
demo/Homestead.yaml
demo/npm-debug.log
demo/yarn-error.log
demo/auth.json
demo/.fleet
demo/.idea
demo/.nova
demo/.vscode
demo/.zed
37 changes: 0 additions & 37 deletions CHANGELOG.md

This file was deleted.

53 changes: 28 additions & 25 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,45 +25,48 @@
"illuminate/database": "^11.40|^12.0",
"spatie/laravel-package-tools": "^1.18"
},
"require-dev": {
"laravel/pint": "^1.0",
"nunomaduro/collision": "^8.0",
"larastan/larastan": "^3.0",
"orchestra/testbench": "^10.0",
"pestphp/pest": "^3.5",
"pestphp/pest-plugin-arch": "^3.0",
"pestphp/pest-plugin-laravel": "^3.0",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-phpunit": "^2.0"
},
"autoload": {
"psr-4": {
"LaraZeus\\Mark\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"LaraZeus\\Mark\\Tests\\": "tests/"
}
},
"scripts": {
"post-autoload-dump": "@php ./vendor/bin/testbench package:discover --ansi",
"analyse": "vendor/bin/phpstan analyse",
"test": "vendor/bin/pest --parallel",
"test-coverage": "vendor/bin/pest --coverage",
"format": "vendor/bin/pint",
"post-install-cmd": [
"composer --working-dir=demo install"
],
"setup": [
"composer --working-dir=demo install",
"composer --working-dir=demo setup"
],
"build-styles": [
"composer install",
"npm install",
"npm run build:styles",
"rm -rf vendor node_modules",
"@setup"
],
"dev": [
"composer --working-dir=demo dev"
],
"analyse": [
"composer --working-dir=demo analyse"
],
"format": [
"composer --working-dir=demo format"
],
"test": [
"composer --working-dir=demo test"
],
"lint": [
"@format",
"@analyse"
"composer --working-dir=demo lint"
]
},
"config": {
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true,
"phpstan/extension-installer": true
}
"sort-packages": true
},
"extra": {
"laravel": {
Expand Down
1 change: 0 additions & 1 deletion database/migrations/create_mark_bookmark_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public function up(): void
->constrained((new (Mark::getMarkerModel()))->getTable())
->cascadeOnUpdate();
$table->morphs('markable');
$table->string('value');
$table->json('metadata')->nullable();
$table->timestamps();
$table->unique(['marker_id', 'markable_type', 'markable_id']);
Expand Down
Loading