progeja/blank

Blank project folder structure for starting new PHP projects.

Maintainers

Details

github.com/progeja/blank

Source

Issues

Installs: 11

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:project

1.0.2 2022-02-17 11:36 UTC

This package is auto-updated.

Last update: 2024-05-17 16:30:08 UTC


README

Description

First base structure. Blank project folder structure for starting new PHP projects.

Includes:

  • .gitignore/.gitattributes
  • .editorconfig
  • composer.json
  • phpunit.xml

Gitignore file contains options for Composer and PHPStorm. Editorconfig has default settings for PHP project files.

"docs/" folder for detailed Documenting new project.

"app.php" and "src/" folder for application code.

Beginning new project

First install composer package

composer create-project progeja/blank <APP-FOLDER-NAME>

After this open your newly created app folder, and then you can change project name and namespace in:

  • composer.json ("name" and "Autoload">"psr-4")
  • phpunit.xml ("testsuite" "name" value)

Change the values of the remaining options in composer.json to suit your needs. And of course, don't forget to update composer after changes.

composer update

Now open folder with PHPStorm and you're ready to go ...