Download the PHP package phpfui/instadoc without Composer

On this page you can find all versions of the php package phpfui/instadoc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?
phpfui/instadoc
Rate from 1 - 5
Rated 5.00 based on 2 reviews

Informations about the package instadoc

PHPFUI\InstaDoc Library Tests Latest Packagist release

A quick and easy way to add documentation to your PHP project

We all document our code with PHP DocBlocks but we never seem to actually generate the documentation and add it to our project. Why? It simply takes too much time (over a minute), so we put it off till later, and later never comes.

But with PHPFUI/InstaDoc, you can document your site in about a minute (OK, maybe 2). The steps involved:

PHPFUI/InstaDoc Features

Install PHPFUI/InstaDoc (requires PHP >= 8.0)

Run Installation Script

Once installed, you need to run an installation script to copy static files to your public directory. From your project root, run the following:

Example: php vendor/phpfui/instadoc/install.php public/PHPFUI will add all needed files to public/PHPFUI, which will avoid any conflicts with your current files. You can specify any directory by using \PHPFUI\Page::setResourcePath, but PHPFUI is recomended to keep things simple.

Create Document Page

PHPFUI/InstaDoc does not reply on any framework and can run on a standalone page. It is recommended that you do not make your documentation public, as PHPFUI/InstaDoc will display PHP source files. How you restrict access to the page is up to you. The following does not restrict access and is simply an example:

That is it. You are done!

Adding New Classes

PHPFUI/InstaDoc saves the classes to display in PHP serialized files. Delete those files (.serial extension) when you want to display new classes. PHPFUI/InstaDoc will regenerate automatically if the files are missing.

Add Child Classes to the Docs

Add a Global Namespace Class

The git repo path defaults to the composer directory, but you can change the path by calling:

Removing a Namespace

Add git Repository Page

The git repo path defaults to the composer directory, but you can change the path by calling:

Add Documents To Your Docs Home Page

Set Your Home Page

You may want users to get back into your system easily. Clicking on the top left menu bar will take them here:

Breakup Your Documentation Into Sections

If you have a lot of source code, you might want to break it into sections, so you will need a separate file to store the index in per section:

Generate Static Files

Just the doc and file pages, no git!

Examples and Full Class Documentation

PHPFUI/InstaDoc


All versions of instadoc with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0 <8.5
phpfui/phpfui Version ^6.0
phpdocumentor/reflection-docblock Version ^5.0
gitonomy/gitlib Version ^1.2
voku/simple_html_dom Version ^4.7
soundasleep/html2text Version ^2.0
scrivo/highlight.php Version >=v9.18
league/commonmark Version ^2.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package phpfui/instadoc contains the following files

Loading the files please wait ....