Download the PHP package tobento/app-skeleton without Composer
On this page you can find all versions of the php package tobento/app-skeleton. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tobento/app-skeleton
More information about tobento/app-skeleton
Files in tobento/app-skeleton
Package app-skeleton
Short Description PHP application skeleton.
License MIT
Homepage https://www.tobento.ch
Informations about the package app-skeleton
App Skeleton
Use this app skeleton to quickly setup and start working on a new App project.
Table of Contents
- Getting Started
- Requirements
- Documentation
- App
- Directory Structure
- Config
- Src
- Register Boots
- App Testing
- App Bundles
- App
- Credits
Getting Started
Add the latest version of the app skeleton running this command.
Requirements
- PHP 8.0 or greater
Documentation
App
Check out the App to learn more about the app in general.
Directory Structure
The directories are set on the app.php file. You can freely change them as you prefer.
Check out the App Directories to learn more about directories in general.
Config
Some App Bundles have config files, which will be located as default at:
Src
The directory is the place to put your classes which is namespaced under .
Register Boots
You may register boots on two places.
On the app.php config file
On the app.php file
App Testing
Unit Tests
Unit tests are designed to test small, isolated portions of code, often focusing on a single method.
See demo test file:
Feature Tests
Feature tests test the behavior of a complete application. They may make HTTP requests and test that the response is as expected.
See demo test file:
Furthermore, check out the App Testing bundle for more information.
App Bundles
Credits
- Tobias Strub
- All Contributors