Skip to content

Commit

Permalink
Merge branch 'update-deps-and-readme' into dependabot/github_actions/…
Browse files Browse the repository at this point in the history
…main/anothrNick/github-tag-action-1.69.0
  • Loading branch information
thejmitchener authored Jun 5, 2024
2 parents b1a7594 + fbbecc9 commit f0a3d8d
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 37 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/phpstan.yml

This file was deleted.

10 changes: 10 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
- 'phpunit.xml.dist'
- 'composer.json'
- 'composer.lock'
pull_request_target:
branches:
- main

jobs:
test:
Expand Down Expand Up @@ -42,6 +45,13 @@ jobs:
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Configure GitHub Token
env:
GH_TOKEN: ${{ secrets.GHA_PERSONAL_ACCESS_TOKEN }}
run: |
git config --global url."https://${GH_TOKEN}@github.com/".insteadOf "https://github.com/"
git config --global url."https://${GH_TOKEN}@github.com/".insteadOf "git@github.com:"
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Fuelviews laravel robots.txt package
# Laravel robots txt package

[![Latest Version on Packagist](https://img.shields.io/packagist/v/fuelviews/laravel-robots-txt.svg?style=flat-square)](https://packagist.org/packages/fuelviews/laravel-robots-txt)
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/fuelviews/laravel-robots-txt/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/fuelviews/laravel-robots-txt/actions?query=workflow%3Arun-tests+branch%3Amain)
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/fuelviews/laravel-robots-txt/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/fuelviews/laravel-robots-txt/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
[![Total Downloads](https://img.shields.io/packagist/dt/fuelviews/laravel-robots-txt.svg?style=flat-square)](https://packagist.org/packages/fuelviews/laravel-robots-txt)

The Fuelviews laravel robots.txt package is engineered to significantly accelerate the development and management of robots.txt files for laravel applications. This package seamlessly integrates into your laravel project, offering an efficient and streamlined approach to controlling how search engines interact with your website. By leveraging this package, developers can swiftly configure search engine access rules, directly from the application's configuration, thus dramatically speeding up the development process. With its focus on rapid configuration and deployment, the Fuelviews laravel robots.txt package ensures that managing your site's search engine visibility becomes a quick, hassle-free aspect of your development workflow, allowing you to focus on building and optimizing your application.
Laravel robots txt integrates opinionated default robots.txt

## Installation

Expand Down Expand Up @@ -65,6 +65,7 @@ return [
To access the robots.txt, navigate to your application's URL and append /robots.txt to it.

For example, if your application is hosted at http://example.com, the sitemap can be found at http://example.com/robots.txt.

## Testing

```bash
Expand Down
9 changes: 3 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fuelviews/laravel-robots-txt",
"description": "Fuelviews laravel robots.txt package",
"description": "Laravelravel robots.txt package",
"keywords": [
"fuelviews",
"laravel",
Expand All @@ -12,17 +12,14 @@
"license": "MIT",
"authors": [
{
"name": "thejmitchener",
"name": "Joshua Mitchener",
"email": "support@fuelviews.com",
"role": "Developer"
}
],
"require": {
"php": "^8.2",
"spatie/laravel-package-tools": "^1.14.0",
"illuminate/support": "^10.0.0",
"illuminate/routing": "^10.0.0",
"illuminate/http": "^10.0.0"
"spatie/laravel-package-tools": "^1.14.0"
},
"require-dev": {
"laravel/pint": "^1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/RobotsTxtServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ public function bootingPackage(): void
*/
public function PackageRegistered(): void
{
Route::get('robots.txt', RobotsTxtController::class);
Route::get('robots.txt', RobotsTxtController::class)->name('robots');
}
}

0 comments on commit f0a3d8d

Please sign in to comment.