Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptPilot committed Feb 14, 2024
2 parents ca0a5ba + 45a9cee commit f53ed7b
Showing 1 changed file with 25 additions and 11 deletions.
36 changes: 25 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,28 @@ Add [PHP](https://www.php.net/), [Composer](https://getcomposer.org/), [MySQL](h

## How it works

## Support development

For all:

- Report bugs in the [issues list](https://github.com/scriptPilot/add-php-backend/issues)

For maintainer:

- Commit changes with an issue (closure) reference
- Run npm version patch | minor | major and push changes
- Let the workflow manage the release to GitHub and NPM
- **no dependency** will be added to the repository
- you have **full control** of all source files for fine tuning
- running `npx add-php-backend` will download the package in a cache folder
- the package main script will **create some files** in the project folder if not exist:
- `docker/` folder with the Dockerfiles
- `public/api.php` initialization of the PHP CRUD API
- `public/credentials.template.php` to be renamed to `credentials.php` for production
- `composer.json` to configure Composer
- `docker-composer.yml` to configure the container setup
- `schema.sql` contains the database schema and updates to it
- `testdata.sql` contains test data only for development
- the package main script will **modify some files** in your project folder:
- add a `backend` script to the `package.json` file
- add a proxy server config for PHP files to the Vite config file
- add `vendor/` and `credentials.php` to the `.gitignore` file

## Support

Report bugs in the [issues list](https://github.com/scriptPilot/add-php-backend/issues).

## Maintainer

1. Commit changes with an issue (closure) reference
2. Run npm version patch | minor | major and push changes
3. Let the workflow manage the release to GitHub and NPM

0 comments on commit f53ed7b

Please sign in to comment.