Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactored the file to exclude unnecessary files and directories, and updated the package description in the file #8

Merged
merged 1 commit into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
23 changes: 22 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,25 @@ phpstan.neon
testbench.yaml
vendor
node_modules
**/.DS_Store
/.phpunit.cache
/node_modules
/public/hot
/public/storage
/storage/*.key
/vendor
.env
.env.backup
.env.production
.phpunit.result.cache
Homestead.json
Homestead.yaml
auth.json
npm-debug.log
yarn-error.log
/.fleet
/.idea
/.vscode
.user.ini
php.ini
error_log
.DS_Store
10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![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)
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/fuelviews/laravel-robots-txt/fix-php-code-style-issues.yml?label=code%20style&style=flat-square)](https://github.com/fuelviews/laravel-robots-txt/actions?query=workflow%3A"Fix+PHP+code+style+issues")
[![Total Downloads](https://img.shields.io/packagist/dt/fuelviews/laravel-robots-txt.svg?style=flat-square)](https://packagist.org/packages/fuelviews/laravel-robots-txt)

Laravel robots txt integrates opinionated default robots.txt
Expand All @@ -22,14 +22,6 @@ php artisan vendor:publish --provider="Fuelviews\RobotsTxt\RobotsTxtServiceProvi
This is the contents of the published config file:

```php
<?php

/**
* Configuration File: robots-txt.php
*
* This file contains configuration options for the robots.txt generation.
*/

return [
/**
* The disk where the robots.txt file will be saved
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fuelviews/laravel-robots-txt",
"description": "Laravelravel robots.txt package",
"description": "Laravel robots txt package",
"keywords": [
"fuelviews",
"laravel",
Expand All @@ -14,6 +14,7 @@
{
"name": "Joshua Mitchener",
"email": "[email protected]",
"homepage": "https://fuelviews.com",
"role": "Developer"
}
],
Expand Down
2 changes: 1 addition & 1 deletion src/RobotsTxtServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class RobotsTxtServiceProvider extends PackageServiceProvider
public function configurePackage(Package $package): void
{
$package
->name('laravel-robots-txt')
->name('robots-txt')
->hasConfigFile('robots-txt');
}

Expand Down
Loading