Search by

ronasit / laravel-project-initializator

eleonovDPankratov

Provided tools for project initialization.

Package info

github.com/RonasIT/laravel-project-initializator

pkg:composer/ronasit/laravel-project-initializator

Statistics

Installs: 1 634

Dependents: 0

Suggesters: 0

Stars: 4

Open Issues: 23


README

Coverage Status

Laravel Project initializator

Installation

    composer require ronasit/laravel-project-initializator --dev

Usage

To begin the initialization process, run php artisan init {application name}. This will prompt you with questions regarding the project and the necessary packages for the initial setup. Upon completion:

  • A new README.md file will be created
  • .env files will be configured, missing ones are created from .env.example beforehand:
    • .env.example — the application name and the default database connection settings, plus the Clerk credentials when the clerk authentication type is selected
    • .env — the application name and the default database connection settings, plus the Clerk credentials when the clerk authentication type is selected
    • .env.development — the application name, APP_ENV=development, the application URL, the Redis-based maintenance, cache, queue and session drivers, emptied database connection settings, the selected filesystem disk with the Google Cloud Storage keys for the gcs storage, and the Clerk credentials except CLERK_SIGNER_KEY_PATH
    • .env.ci-testing — the application name, APP_ENV=testing, a generated APP_KEY, LOG_CHANNEL=stderr and the test database connection settings, where DB_HOST gets a _test suffix (pgsql_test) and must be provided by the project's docker-compose.yml
    • .env.testing — the same as .env.ci-testing, plus FAIL_EXPORT_JSON=false
  • For Web and Multiplatform application types, config/cors.php will be published and its paths option will be set to ['*']
  • Required packages will be installed:
  • Optional packages will be installed depending on your answers:
  • This package will be automatically removed

Contributing

Thank you for considering contributing to Laravel Project initializator package! The contribution guide can be found in the Contributing guide.

License

Laravel Project Initializator package is open-sourced software licensed under the MIT license.