A repository template for Studio 24's open source Laravel packages.
This package can be used as to scaffold a PHP package. Follow these steps to get started:
- Press the "Use template" button at the top of this repo to create a new repo with the contents of this skeleton
- Run
php ./configure.phpto run a script that will replace all placeholders throughout all the files - Have fun creating your package.
A brief explanation of the different components of this package template.
.github/ISSUE_TEMPLATE- GitHub issue templates.github/workflows- GitHub actions for running tests (php.yml) and automated releases (release.yml).github/dependabot.yml- Dependabot configurationconfig- Config file for your Laravel packagedatabase- Laravel database files (factories and migrations)resources- Laravel resources (templates)src/- The PHP source code for your Laravel package, this will autoload based on the autoload rules in composer.jsonsrc/Commands- Laravel artisan commandsrc/Facades- Laravel facadessrc/ExampleClass.php- An example classsrc/PackageTemplateServiceProvider.php- Service Provider for your Laravel packagetests- PHPUnit tests for your package.editorconfig- Your editor coding style configuration.gitattributes- Ignore these files/folders when this package is installed via Composer.phpcs.xml.dist- PHPCodeSniffer configuration.phplint.yml- PHPLint configurationCHANGELOG.md- A list of notable changes, the contents of this file are automated by automated releasesCODE_OF_CONDUCT.md- Contributor's code of conductcomposer.json- Composer PHP package dependenciesconfigure.php- Package configuration script, this file is deleted after configure.php is runCONTRIBUTING.md- Guide to contributingLICENSE.md- License informationphpstan.neon- PHPStan configurationphpunit.xml.dist- PHPUnit configurationREADME.md- This README file, this file is deleted once configure.php is runREADME_DEFAULT.md- The default README file for your new package, this file is copied to README.md after configure.php is runSECURITY.md- Security policy for this package
The MIT License (MIT). Please see License File for more information.