From dbf3acb877cb554f1cd9144911cb4caaaf699e56 Mon Sep 17 00:00:00 2001 From: Pascal Baljet Date: Fri, 9 Dec 2022 15:33:16 +0100 Subject: [PATCH] Support for PHP 8.2 (#97) --- .github/workflows/run-tests.yml | 9 ++------- README.md | 12 +++--------- composer.json | 15 ++++++++------- 3 files changed, 13 insertions(+), 23 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index e69cb1f..dc0a6d3 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -8,18 +8,13 @@ jobs: strategy: fail-fast: true matrix: - php: [8.1, 8.0, 7.4] - laravel: [9.*, 8.*] + php: [8.2, 8.1, 8.0] + laravel: [9.*] framework: [tailwind, tailwind-2, tailwind-forms-simple, bootstrap-4, bootstrap-5] dependency-version: [prefer-lowest, prefer-stable] include: - laravel: 9.* testbench: 7.* - - laravel: 8.* - testbench: 6.* - exclude: - - laravel: 9.* - php: 7.4 name: P${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.dependency-version }} - Front-end Framework ${{ matrix.framework }} diff --git a/README.md b/README.md index b3bc5c5..f178ccc 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ A set of Blade components to rapidly build forms with [Tailwind CSS v1](https://tailwindcss-custom-forms.netlify.app), [Tailwind CSS v2](https://tailwindcss-forms.vercel.app), [Bootstrap 4](https://getbootstrap.com/docs/4.0/components/forms/) and [Bootstrap 5](https://getbootstrap.com/docs/5.1/forms/overview/). Supports validation, model binding, default values, translations, includes default vendor styling and fully customizable! -## Support this package! +## Sponsor this package! ❤️ We proudly support the community by developing Laravel packages and giving them away for free. If this package saves you time or if you're relying on it professionally, please consider [sponsoring the maintenance and development](https://github.com/sponsors/pascalbaljet). Keeping track of issues and pull requests takes time, but we're happy to help! @@ -17,10 +17,6 @@ A set of Blade components to rapidly build forms with [Tailwind CSS v1](https:// It's the *magic* of Inertia.js with the *simplicity* of Blade. [Splade](https://github.com/protonemedia/laravel-splade) provides a super easy way to build Single Page Applications using Blade templates. Besides that magic SPA-feeling, it comes with more than ten components to sparkle your app and make it interactive, all without ever leaving Blade. -## Looking for a Inertia.js / Vue / Laravel Jetstream solution? - -Check out [Form Components Pro](https://github.com/protonemedia/form-components-pro)! It's a set of Vue 3 components to rapidly build forms with Tailwind CSS 3. It supports validation, model binding, integrates with Autosize/Choices.js/Flatpickr, includes default vendor styling and is fully customizable! Even better in conjunction with Laravel Jetstream + Inertia.js. - ## Features ### 📺 Want to see this package in action? Join the live stream on November 19 at 14:00 CET: [https://youtu.be/7eNZS4U7xyM](https://youtu.be/7eNZS4U7xyM) @@ -40,12 +36,10 @@ Check out [Form Components Pro](https://github.com/protonemedia/form-components- * Components classes and Blade views fully customizable. * Support for prefixing the components. -Looking for Inertia/Vue.js support? Check out [Form Components Pro](https://github.com/protonemedia/form-components-pro) - ## Requirements -* PHP 7.4 or higher -* Laravel 8.0 or 9.0 +* PHP 8.0 or higher +* Laravel 9.0 ## Installation diff --git a/composer.json b/composer.json index 1cc5842..9ea0304 100644 --- a/composer.json +++ b/composer.json @@ -29,17 +29,18 @@ } ], "require": { - "php": "^7.4 || ^8.0 || ^8.1", - "illuminate/support": "^8.67 || ^9.0", - "symfony/http-foundation": "^5.1.2 || ^6.0" + "php": "^8.0 || ^8.1 || ^8.2", + "illuminate/support": "^9.0", + "symfony/http-foundation": "^6.0" }, "require-dev": { "livewire/livewire": "^2.0", "mockery/mockery": "^1.3.3", - "orchestra/testbench-browser-kit": "^6.23 || ^7.0", + "nesbot/carbon": "^2.63", + "orchestra/testbench-browser-kit": "^7.0", "phpunit/phpunit": "^9.5", - "spatie/laravel-translatable": "^4.4 || ^5.0", - "symfony/dom-crawler": "^5.1.14 || ^6.0" + "spatie/laravel-translatable": "^5.0", + "symfony/dom-crawler": "^6.0" }, "autoload": { "psr-4": { @@ -67,4 +68,4 @@ ] } } -} \ No newline at end of file +}