Skip to content
/ template Public template

Laravel package template

License

Notifications You must be signed in to change notification settings

archtechx/template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

83af6c7 · Apr 24, 2024

History

28 Commits
Apr 24, 2024
Apr 24, 2024
Jul 22, 2022
May 23, 2021
Apr 24, 2024
Aug 31, 2023
May 23, 2021
Apr 24, 2024
May 24, 2021
Apr 24, 2024
May 23, 2021
May 23, 2021
Apr 24, 2024

Repository files navigation

REPLACE

Simple and flexible package template. Supports Laravel 11.

Template usage

  • Replace all occurances of REPLACE (case sensitive) with the name of the package namespace. E.g. the Foo in ArchTech\Foo.
    • Also do this for file names, e.g. REPLACEServiceProvider.php.
  • Replace all occurances of replace with the name of the package on composer, e.g. the bar in archtechx/bar.
  • If MySQL is not needed, remove docker-compose.yml, remove the line that runs docker from ./check, and remove it from the .github/ci.yml file.
    • If SQLite is wanted, change DB_CONNECTION in phpunit.xml to sqlite, and DB_DATABASE to :memory:.

Installation

composer require archtechx/replace

Usage

// ...

Development

Run all checks locally:

./check

Code style will be automatically fixed by php-cs-fixer.