Skip to content

Conversation

Abdulmajeed-Jamaan
Copy link
Contributor

No description provided.

Introduces a new 'demo' directory containing a fresh Laravel application scaffold, including configuration, controllers, models, routes, views, and supporting files. Also updates the root .gitattributes to include demo-related files.
Introduced Filament admin panel by adding AdminPanelProvider, registering it in the providers list, and updating composer dependencies to include filament/filament and related packages. Added Filament CSS and JS assets to the public directory. Updated composer scripts for Filament and adjusted web routes as part of the integration.
The 'docs' directory has been added to .gitattributes, likely to specify handling for linguist or export-ignore. This helps manage repository content classification or packaging.
Included the .github directory in .gitattributes, likely to control its behavior in exports or linguist analysis.
Added LaraZeus Bolt form builder and its dependencies to the project, including configuration, migrations, and public assets. Updated User model to use Bolt traits and registered Bolt and SpatieLaravelTranslatable plugins in the Filament AdminPanelProvider. Updated composer.json to require lara-zeus/bolt and set up a path repository for local development.
Added Larastan as a dev dependency in demo/composer.json and updated the analyze script to use the demo directory. Moved and enhanced phpstan.neon to demo/phpstan.neon, including Larastan and Carbon extensions, and adjusted paths. Updated composer.lock to reflect new dependencies.
Updated string concatenation in configuration files, migrations, and application bootstrap to use spaced dot operator for improved readability and consistency. Also updated composer scripts to use the demo directory for formatting, bumped laravel/pint version, and moved pint.json to demo directory. Minor code style improvements and plugin array trailing comma fix.
Set treatPhpDocTypesAsCertain to false and reformatted the ignoreErrors list for clarity. Added property.notFound to ignored errors and removed argument.type from the list.
All test files and migrations were moved from the root 'tests' directory to 'demo/tests', and redundant test files were removed. The test user model was consolidated into 'demo/app/Models/User.php', which now implements FilamentUser. The Pest test setup was updated to use RefreshDatabase and automatically authenticate a user before each test. Composer scripts were refactored to delegate test and analyze commands to the demo directory, and the Pest Livewire plugin was added as a dev dependency. The PHPUnit configuration was updated to use a single test suite. Unused configuration and test files were deleted from the root.
composer.lock is now ignored to prevent it from being tracked in version control.
Deleted composer.lock and updated .gitignore to exclude it. This change ensures that composer.lock is not tracked in version control, which is typical for libraries to avoid locking dependencies for consumers.
Separated trait usage and docblock in User model for clarity. Removed unused Artisan import from Pest.php to clean up test bootstrap file.
Relocated model factories and seeders from the main database directory to the demo directory, updating namespaces accordingly. Removed the UserFactory. Added BoltSectionsSeeder and updated DatabaseSeeder to include it. Updated model imports to reference the new factory locations. Changed the composer.json post-create-project-cmd to use 'migrate:fresh'.
Renamed and updated GitHub Actions workflows for analysis and testing, consolidating code style checks into a new 'format.yml' workflow. Updated composer scripts and demo configuration for consistent naming ('analyse' instead of 'analyze'), removed unused dev dependencies, and standardized string concatenation with spaces throughout the codebase for improved readability and consistency.
Introduced a new 'setup' script to the composer.json file, allowing setup commands to be run in the demo working directory.
Renamed the 'phpstan' job to 'analyse' in analyse.yml and 'php-code-styling' job to 'format' in format.yml for improved clarity and consistency.
@Abdulmajeed-Jamaan Abdulmajeed-Jamaan added the enhancement New feature or request label Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant