You are reading an outdated version of this documentation. Please check out the latest version of the developer manual.

Create an app

After you’ve set up the development environment change into the Nextcloud apps directory:

cd /var/www/nextcloud/apps

Then create a skeleton app in the app store.

Enable the app

The app can now be enabled on the Nextcloud apps page.

App architecture

The following directories have now been created:

  • appinfo/: Contains app metadata and configuration
  • css/: Contains the CSS
  • js/: Contains the JavaScript files
  • lib/: Contains the PHP class files of your app
  • templates/: Contains the templates
  • tests/: Contains the tests