Note: this package can be only used with automatic.
Use Composer to install this package:
composer require narrowspark/skeleton-generators
Narrowspark automatically ships with a default directory structure. You can easily override this directory structure to create your own.
The default directory structure is.
your-project/
├─ app/
│ ├─ Console/
│ ├─ └─ Kernel.php
│ ├─ Provider/
│ └─ ...
├─ config/
│ └─ ...
├─ public/
│ └─ index.php
├─ resources/
│ └─ ...
├─ routes/
│ ├─ api.php
│ └─ ...
├─ storage/
│ ├─ app/
│ ├─ framework/
│ ├─ logs/
│ └─ ...
├─ tests/
│ ├─ AbstractTestCase.php
│ ├─ bootstrap.php
│ └─ ...
├─ cerebro
└─ vendor/
You can change the default directories by overriding the composer extra section of your app:
{
"extra": {
"app-dir": "app",
"config-dir": "config",
"database-dir": "database",
"public-dir": "public",
"resources-dir": "resources",
"routes-dir": "routes",
"storage-dir": "storage",
"tests-dir": "tests"
}
}
The root-dir
key may be only used if your project is in a sub folder of your main project.
The Console Generator
is a micro-framework that provides an elegant starting point for your console app.
The Http Generator
is a micro-framework that provides an elegant starting point for your next web app.
You need to run:
$ php vendor/bin/phpunit
If you would like to help take a look at the list of issues and check our Contributing guild.
Note: please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
The MIT License (MIT). Please see License File for more information.