diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index c68765b..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1 +0,0 @@ -github: :vendor_name diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index b718b39..3ba13e0 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,14 +1 @@ blank_issues_enabled: false -contact_links: - - name: Ask a question - url: https://github.com/:vendor_name/:package_name/discussions/new?category=q-a - about: Ask the community for help - - name: Request a feature - url: https://github.com/:vendor_name/:package_name/discussions/new?category=ideas - about: Share ideas for new features - - name: Report a security issue - url: https://github.com/:vendor_name/:package_name/security/policy - about: Learn how to notify us for sensitive bugs - - name: Report a bug - url: https://github.com/:vendor_name/:package_name/issues/new - about: Report a reproducable bug diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 30c8a49..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,12 +0,0 @@ -# Please see the documentation for all configuration options: -# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates - -version: 2 -updates: - - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" - labels: - - "dependencies" \ No newline at end of file diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml deleted file mode 100644 index 4af8e6b..0000000 --- a/.github/workflows/dependabot-auto-merge.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: dependabot-auto-merge -on: pull_request_target - -permissions: - pull-requests: write - contents: write - -jobs: - dependabot: - runs-on: ubuntu-latest - if: ${{ github.actor == 'dependabot[bot]' }} - steps: - - - name: Dependabot metadata - id: metadata - uses: dependabot/fetch-metadata@v1.5.1 - with: - github-token: "${{ secrets.GITHUB_TOKEN }}" - - - name: Auto-merge Dependabot PRs for semver-minor updates - if: ${{steps.metadata.outputs.update-type == 'version-update:semver-minor'}} - run: gh pr merge --auto --merge "$PR_URL" - env: - PR_URL: ${{github.event.pull_request.html_url}} - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - - - name: Auto-merge Dependabot PRs for semver-patch updates - if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}} - run: gh pr merge --auto --merge "$PR_URL" - env: - PR_URL: ${{github.event.pull_request.html_url}} - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/.github/workflows/php-cs-fixer.yml b/.github/workflows/php-cs-fixer.yml deleted file mode 100644 index 4917b37..0000000 --- a/.github/workflows/php-cs-fixer.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Check & fix styling - -on: [push] - -jobs: - php-cs-fixer: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v3 - with: - ref: ${{ github.head_ref }} - - - name: Run PHP CS Fixer - uses: docker://oskarstark/php-cs-fixer-ga - with: - args: --config=.php-cs-fixer.dist.php --allow-risky=yes - - - name: Commit changes - uses: stefanzweifel/git-auto-commit-action@v4 - with: - commit_message: Fix styling diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml deleted file mode 100644 index 514a49d..0000000 --- a/.github/workflows/run-tests.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Tests - -on: [push, pull_request] - -jobs: - test: - runs-on: ${{ matrix.os }} - strategy: - fail-fast: true - matrix: - os: [ubuntu-latest, windows-latest] - php: [8.0] - stability: [prefer-lowest, prefer-stable] - - name: P${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }} - - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php }} - extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo - coverage: none - - - name: Setup problem matchers - run: | - echo "::add-matcher::${{ runner.tool_cache }}/php.json" - echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" - - - name: Install dependencies - run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction - - - name: Execute tests - run: vendor/bin/pest diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml deleted file mode 100644 index b20f3b6..0000000 --- a/.github/workflows/update-changelog.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: "Update Changelog" - -on: - release: - types: [released] - -jobs: - update: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v3 - with: - ref: main - - - name: Update Changelog - uses: stefanzweifel/changelog-updater-action@v1 - with: - latest-version: ${{ github.event.release.name }} - release-notes: ${{ github.event.release.body }} - - - name: Commit updated CHANGELOG - uses: stefanzweifel/git-auto-commit-action@v4 - with: - branch: main - commit_message: Update CHANGELOG - file_pattern: CHANGELOG.md diff --git a/README.md b/README.md index 67b3a41..739e64c 100644 --- a/README.md +++ b/README.md @@ -1,69 +1,25 @@ +# Corals CMS -[](https://supportukrainenow.org) - -# :package_description - -[![Latest Version on Packagist](https://img.shields.io/packagist/v/:vendor_slug/:package_slug.svg?style=flat-square)](https://packagist.org/packages/:vendor_slug/:package_slug) -[![Tests](https://github.com/:vendor_slug/:package_slug/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/:vendor_slug/:package_slug/actions/workflows/run-tests.yml) -[![Total Downloads](https://img.shields.io/packagist/dt/:vendor_slug/:package_slug.svg?style=flat-square)](https://packagist.org/packages/:vendor_slug/:package_slug) - ---- -This package can be used as to scaffold a framework agnostic package. Follow these steps to get started: - -1. Press the "Use template" button at the top of this repo to create a new repo with the contents of this skeleton -2. Run "php ./configure.php" to run a script that will replace all placeholders throughout all the files -3. Have fun creating your package. -4. If you need help creating a package, consider picking up our Laravel Package Training video course. ---- - This is where your description should go. Try and limit it to a paragraph or two. Consider adding a small example. -## Support us - -[](https://spatie.be/github-ad-click/:package_name) - -We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us). - -We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards). - ## Installation You can install the package via composer: ```bash -composer require :vendor_slug/:package_slug -``` - -## Usage - -```php -$skeleton = new VendorName\Skeleton(); -echo $skeleton->echoPhrase('Hello, VendorName!'); +composer require corals/cms ``` ## Testing ```bash -composer test +vendor/bin/phpunit vendor/corals/cms/tests ``` -## Changelog - -Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently. - -## Contributing - -Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details. - -## Security Vulnerabilities - -Please review [our security policy](../../security/policy) on how to report security vulnerabilities. - -## Credits - -- [:author_name](https://github.com/:author_username) -- [All Contributors](../../contributors) - -## License +## Questions & Answers +If you faced any issue you can check our questions center, and you can post your question from the following link +[Questions & Answers](https://www.laraship.com/laraship-questions/) -The MIT License (MIT). Please see [License File](LICENSE.md) for more information. +## Hire Us +Looking for a professional team to build your success and start driving your business forward. +Laraship team ready to start with you [Hire Us](https://www.laraship.com/contact) diff --git a/composer.json b/composer.json index 8d5df7b..c2b1346 100644 --- a/composer.json +++ b/composer.json @@ -43,10 +43,16 @@ } }, "require": { - "cviebrock/eloquent-sluggable": "9.0.0", - "corals/utility-tag": "@dev", - "corals/utility-seo": "@dev", - "corals/utility-comment": "@dev" + "corals/utility-comment": "^10.0.0", + "corals/utility-seo": "^10.0.0", + "corals/utility-tag": "^10.0.0", + "cviebrock/eloquent-sluggable": "^10.0.0" }, + "repositories": [ + { + "type": "composer", + "url": "https://packages.laraship.com" + } + ], "minimum-stability": "dev" } diff --git a/module.json b/module.json index f19f27e..4749633 100644 --- a/module.json +++ b/module.json @@ -6,17 +6,17 @@ "description": "Manage pages, posts, news, categories, tags with Page Builder", "namespace": "Corals\\Modules\\CMS\\", "provider": "CMSServiceProvider", - "version": "5.0", + "version": "10.0.0", "folder": "CMS", "load_order": "9999", "autoload": "psr-4", "icon": "fa fa-desktop", "require": { - "corals-foundation": "^6.0", - "corals-settings": "^5.0", - "corals-utility": "^4.0", - "corals-utility-comment": "1.0", - "corals-utility-tag": "1.0", - "corals-utility-seo": "1.0" + "corals-foundation": "^10.0.0", + "corals-settings": "^10.0.0", + "corals-utility": "^10.0.0", + "corals-utility-comment": "^10.0.0", + "corals-utility-tag": "^10.0.0", + "corals-utility-seo": "^10.0.0" } }