Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alihammad-gist/php-starter
Starting a new php project / lib. Use this.
https://github.com/alihammad-gist/php-starter
Last synced: 24 days ago
JSON representation
Starting a new php project / lib. Use this.
- Host: GitHub
- URL: https://github.com/alihammad-gist/php-starter
- Owner: alihammad-gist
- Created: 2024-03-05T14:18:31.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-12T16:39:43.000Z (11 months ago)
- Last Synced: 2024-11-12T06:27:12.237Z (3 months ago)
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A PHP Starter Project
A starting point with a lot of repetitive tasks already configured
1. PHP Codesniffer (using Laminas Coding Standard)
2. Psalm
3. PHPUnit## Dependencies checking
To check undeclared implicit dependency,
[maglnet/composer-require-checker](https://github.com/maglnet/ComposerRequireChecker)
package can be used. It should be installed as global composer
package.
`composer global require maglnet/composer-require-checker`. Run
`composer run composer-require-check` to analyze the `src/` folder.Similarly unused packages can be identified by
[composer-unused/composer-unused](https://github.com/composer-unused/composer-unused)
package. Again this should be installed locally, the package author
recommends downloading a `phar` release from github's release page.## Using Phive to install linting and formatting binaries
The project include `.phive/phars.xml` file which lists all the
dependences for formatting and linting. Running `phive install`
will installs the phars in `tools/` directory.