Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

🌀 The narrowspark skeleton generators a automatic plugin.

License

Notifications You must be signed in to change notification settings

narrowspark/skeleton-generators

Repository files navigation

Narrowspark Skeleton Generators

Branch Status

Travis branch Appveyor branch

Installation

Note: this package can be only used with automatic.

Use Composer to install this package:

composer require narrowspark/skeleton-generators

Default Directories

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/

Override the Directories

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.

Generators

- Console

The Console Generator is a micro-framework that provides an elegant starting point for your console app.

- Http

The Http Generator is a micro-framework that provides an elegant starting point for your next web app.

Testing

You need to run:

$ php vendor/bin/phpunit

Contributing

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.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

🌀 The narrowspark skeleton generators a automatic plugin.

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published