Download the PHP package authorod/svitylo-anatomy-laravel without Composer

On this page you can find all versions of the php package authorod/svitylo-anatomy-laravel. 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 svitylo-anatomy-laravel

authorod/svitylo-anatomy-laravel

Integration of the Svitylo 3D atlas with Laravel and Livewire:

installLivewireBridge(); js import { syncAnatomyTheme } from '../../vendor/authorod/svitylo-anatomy-laravel/resources/js/theme.js';

syncAnatomyTheme(); // { root, darkClass } — another element or class; returns a function that stops it blade {{-- Markdown (CommonMark + GFM): raw HTML is escaped, unsafe links are dropped --}} @anatomyMarkdown($note->body)

{{-- Stored HTML: the sanitizer first, then the embeds --}} @anatomyHtml($sanitizedHtml)

The order "sanitize, then transform" means that only the package creates embed markup: the sanitizer removes an embed written into a note by hand (with a foreign data-url). allowEmbeds() is for pipelines that sanitize embeds that are already rendered: it allows only their attributes, always sets layout="embed", and sets data-url to the folder you pass (AnatomySanitizer::allowEmbeds($config, config('svitylo-anatomy.data_url'))) or drops it, so an embed in the input can never load data from another host.

Blade components

<x-svitylo-anatomy> passes its other attributes to the <svitylo-anatomy> element (API). <x-svitylo-anatomy-embed> takes the fields of an sh composer install && composer test # PHPUnit + Testbench (Laravel 11–13, Livewire 4) pnpm test:laravel:e2e # from the root: Livewire browser tests on the workbench app



`workbench/` is the test application: a note in a Livewire component, an atlas with commands and
events, and pages with `@persist`.

## Licence and contributions

The project's own code is licensed under [CPAL-1.0](LICENSE.md). Independent code in
a Larger Work may remain closed; CPAL source and attribution obligations apply to
the covered atlas code and its modifications. Data and dependencies retain their
own licences. See the repository's [licensing guide](https://github.com/authorOd/3d-anatomy-atlas/blob/HEAD/docs/licensing.md) and
[language contribution guide](https://github.com/authorOd/3d-anatomy-atlas/blob/HEAD/CONTRIBUTING.md). Partial translation drafts
can be proposed through a PR; a new language also needs runtime integration.

All versions of svitylo-anatomy-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^11.0 || ^12.0 || ^13.0
illuminate/view Version ^11.0 || ^12.0 || ^13.0
league/commonmark Version ^2.6
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 authorod/svitylo-anatomy-laravel contains the following files

Loading the files please wait ...