Download the PHP package particle-academy/dark-slide without Composer

On this page you can find all versions of the php package particle-academy/dark-slide. 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 dark-slide

DarkSlide

PHP package for reading and writing presentation files (.pptx) from a JSON-friendly schema. Framework-agnostic core with an optional Laravel adapter. Designed to round-trip with the @particle-academy/fancy-slides JS package's Deck schema — what the JS editor emits, DarkSlide writes to a real Office Open XML file that opens in PowerPoint, Keynote, Google Slides, and LibreOffice Impress.

Why

Sister project to holy-sheet (XLSX writer). The two share an "agent emits JSON, PHP writes a real document" pattern:

Document type JS authoring PHP writing
Spreadsheets fancy-sheets holy-sheet
Presentations fancy-slides dark-slide

Quickstart

Laravel

Schema

Mirrors @particle-academy/fancy-slides's Deck shape exactly. Coordinates are 0..1 fractions; DarkSlide converts to PPTX EMU (914,400 per inch) on write.

See docs/schema.md for the full reference.

Element coverage (v0.5)

Element Writer Reader
text ✅ markdown spans + headings (# / ## / ###) ✅ markdown spans reconstructed
image ✅ data URI + local path; fit (fill/cover/contain/scale-down) + crop; opt-in HTTP fetch ✅ as data URI
shape ✅ (rect, rounded-rect, ellipse, triangle, line, arrow)
code ✅ syntax-highlighted runs (JS/TS, PHP, JSON, bash, CSS, Python, HTML) ✅ as text
table ✅ real <a:tbl> (header + striped body rows) ✅ round-trips columns + rows
background ✅ solid color, gradient (linear-gradient(…)), image ✅ solid, gradient, image-as-data-URI
chart ✅ native OOXML chart parts (bar / line / area / pie / scatter) from an ECharts-style option; graceful image / placeholder fallback ⚠ skipped
embed not representable in pptx n/a
transitions ✅ per-slide transition (fade / slide / zoom) + deck defaultTransition ⚠ skipped
animations ✅ per-element animation (fade / fly-in / zoom / wipe) → <p:timing> build steps ⚠ skipped

What's new in v0.5

What's new in v0.4

What's new in v0.3

Agent tool-use surface

Agent::validateAndRepair($schema) returns ['ok' => bool, 'schema' => array, 'errors' => list] — wire it into your LLM tool to give the agent structured feedback on its emitted decks. Mirrors holy-sheet's pattern.

License

MIT


All versions of dark-slide with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-zip Version *
ext-dom Version *
ext-libxml Version *
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 particle-academy/dark-slide contains the following files

Loading the files please wait ...