1
0
Fork 0
mirror of https://github.com/archtechx/enums.git synced 2025-12-12 09:44:03 +00:00

Initial commit

This commit is contained in:
Samuel Štancl 2022-02-20 19:51:56 +01:00
commit f9fe9e5cab
15 changed files with 542 additions and 0 deletions

35
README.md Normal file
View file

@ -0,0 +1,35 @@
# REPLACE
Simple and flexible package template. Supports Laravel 8 and 9.
# 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
```sh
composer require archtechx/replace
```
## Usage
```php
// ...
```
## Development
Run all checks locally:
```sh
./check
```
Code style will be automatically fixed by php-cs-fixer.