GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • zairakai/laravel-dev-tools
  • Guide
  • Reference
  • GitLab
  • DevToolsPlugin
  • ClearActivationCommand
  • CleanAfterIdeHelperCommand
  • PublishToolingCommand
  • RemoveTrailingSlashesCommand
  • PublishOutput
  • LaravelDevToolsServiceProvider
  • RectorBaseConfig
  • BaseFilesPublisher
  • CodeSpreader

This view

  • Original page
  • New address

GeezerVison is showing laravel-dev-tools-8745c7.gitlab.io — BaseFilesPublisher | zairakai/laravel-dev-tools

BaseFilesPublisher ​

php
final readonly class Zairakai\LaravelDevTools\Services\BaseFilesPublisher

The files that every project has from the setup, besides config/dev-tools/: the Makefile, .editorconfig, the Composer scripts of the package and the block of .gitignore.

Source: src/Services/BaseFilesPublisher.php

Methods ​

__construct() ​

php
public function __construct(StubWriter $writer, PublishOutput $output)

composerScripts() ​

php
public function composerScripts(string $vendorPath, string $basePath, bool $force): bool

The Composer scripts of the package, added to composer.json. With $force, a script that the project has with another value is replaced, after a copy of composer.json.

editorConfig() ​

php
public function editorConfig(string $vendorPath, string $basePath, bool $force): bool

gitignore() ​

php
public function gitignore(string $basePath): bool

The block of .gitignore for the files of the tools. A project that has the block, with this title or with the one of the older versions, is left as it is. A project without .gitignore is left as it is too.

makefile() ​

php
public function makefile(string $vendorPath, string $basePath, bool $force, bool $fullstack): bool

The Makefile of the project: the one for PHP, or the one for PHP and JS when the project uses js-dev-tools.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.