https://github.com/archtechx/template
Laravel package template
https://github.com/archtechx/template
Last synced: about 1 month ago
JSON representation
Laravel package template
- Host: GitHub
- URL: https://github.com/archtechx/template
- Owner: archtechx
- License: mit
- Created: 2021-05-23T11:14:25.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-24T16:21:08.000Z (about 1 year ago)
- Last Synced: 2025-04-08T12:03:45.761Z (2 months ago)
- Language: PHP
- Size: 43.9 KB
- Stars: 63
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```sh
composer require archtechx/replace
```## Usage
```php
// ...
```## Development
Run all checks locally:
```sh
./check
```Code style will be automatically fixed by php-cs-fixer.