Download the PHP package desilva/laradocgen without Composer

On this page you can find all versions of the php package desilva/laradocgen. 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?

Informations about the package laradocgen

Laravel Static Documentation Sites, Blazingly Fast and Stupidly Simple

Latest Version on Packagist Total Downloads License GitHub Actions GitHub Actions

Now with Dark Mode Support!

Not activly maintained

This project is currently not receiving new features as I am focusing on HydePHP, however, the project will continue to get security fixes indefinitely. Open source contributions are welcome!

Alternatives

This project is a hybrid static site generator and live server package. I have created two other packages that I think are much better suited than this one.

If you want static documentation sites, try out HydePHP which features a significantly faster rendering engine, and is much more refined and easy to get started with.

If you want documentation sites for a Laravel project, try Lagrafo, which started out as Laradocgen v2.0.

About

Hey! I'm Caen! I created this package to practice package development. It is still very much in beta, but please do send me any feedback you have! I'd love to get some PRs as well.

Full Documentation

Full documentation is available at https://docs.desilva.se/laradocgen/. Generated using this package of course!

Alpha Stage Software

Hey! Just a quick heads up that this is a very new package and I expect there to be bugs. If anything goes wrong, do let me know and I'd love to get feedback and PRs!

Disclaimer This package is still in the alpha stage. Once it becomes stable and tested enough I will release v1.0 and I will adhere to semantic versioning. But until then I will run canary builds and I am sure there will be breaking changes. I will of course do my best to document them all in the upgrade guides, but all in all, at this stage I would not recommend it for production use. Though since it is intended to run on your local server I don't think much can go wrong as long as you have backups and Git. The only area that is really of concern to me is that since we are working with writing files to disk if something goes wrong files could be overwritten, but as it is now the paths are hardcoded to "safe" directories so it should only be able to overwrite files already created by the package.

Installation

The package has so far only been tested with Laravel 9

You can install the package via composer:

Publish the assets

Build the static site

Your static site will be saved in public/docs

Usage

Adding pages

Pages are generated from markdown files stored in resources/docs/.

Markdown filenames are sanitized through Str::slug(). To prevent 404 errors the filenames must be compatible. In essence, they must be in lowercase kebab-case and end in .md and must not contain spaces.

And store your images in resources/docs/media/

Build the static site

Your static site will be saved in public/docs

Customization

The package strives to follow Convention over configuration. Everything is preconfigured so you can get started quickly. However, if you wish you can customize the package.

You can publish the Blade views using

And customize them to your liking. Note that you will need to re-publish the views when updating!

You can customize the source and output directory in the config file. You can use this to create multiple documentation versions.

Package Development

Please see CONTRIBUTING for details.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Roadmap

Right now there are not very many customization options as I wanted to keep things dead simple. If you have a configuration idea please do make a PR or open a GitHub Issue as I want to allow for more customization down the line.

Security

If you discover any security-related issues, please email [email protected] instead of using the issue tracker. All vulnerabilities will be promptly addressed.

Credits

License

The MIT License (MIT). Please see License File for more information.

Attributions

Please see the respective authors' repositories for their license files

Laravel Package Boilerplate

This package's scaffolding was generated using the Laravel Package Boilerplate.

Frontend

Packages used and special mentions

More Badges

Latest Version on Packagist Latest Version on Packagist (including pre-releases) GitHub Actions


All versions of laradocgen with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0.2
ext-curl Version *
ext-fileinfo Version *
illuminate/support Version ^8.42|^9.0
league/commonmark Version ^2.2
torchlight/torchlight-commonmark Version ^0.5.5
torchlight/torchlight-laravel Version ^0.5.11
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 desilva/laradocgen contains the following files

Loading the files please wait ....