Simple and flexible package template. Supports Laravel 11.
- Replace all occurances of
REPLACE
(case sensitive) with the name of the package namespace. E.g. theFoo
inArchTech\Foo
.- Also do this for file names, e.g.
REPLACEServiceProvider.php
.
- Also do this for file names, e.g.
- Replace all occurances of
replace
with the name of the package on composer, e.g. thebar
inarchtechx/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
inphpunit.xml
tosqlite
, andDB_DATABASE
to:memory:
.
- If SQLite is wanted, change
composer require archtechx/replace
// ...
Run all checks locally:
./check
Code style will be automatically fixed by php-cs-fixer.