Download the PHP package pubvana/pages without Composer

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

Stable? Not Quite Yet License PHP Version Monthly Downloads Total Downloads GitHub Issues Contributors Latest Release Contributions Welcome

Pubvana Pages

I noticed folks downloading some of these packages. I'm super grateful, Thank You! I would like to let folks know until this notice disappears I'm doing a lot of breaking changes without worrying about them. Once versions are up around 0.5.x things should settle down.

Static pages module for Pubvana - CRUD for standalone pages with slug-based routing, version history, and view tracking. Built as a Flight School plugin.

Features

Requirements

Recommends

Installation

Enable in app/config/config.php:

Migrations package creates the pages, page_versions, and page_views tables automatically on first load.

Flight School config

This package uses Flight School's return-array config format. src/Config/Config.php returns the package defaults as an array, Flight School stores that array under pubvana.pages on $app, and the current public route prefix is defined there with 'routePrepend' => 'pages'.

Configuration

Defaults from Config.php - override in your plugin config block:

Key Default Description
max_revisions 15 Maximum version snapshots kept per page

HTML sanitization config is project-wide under the html_purifier key in config.php. See PLUGIN-ARCHITECTURE.md for details.

Usage

Admin Routes

Method Route Description
GET /admin/pages Page list
GET /admin/pages/create Create form
POST /admin/pages/store Store new page
GET /admin/pages/@id/edit Edit form
POST /admin/pages/@id/update Update page
POST /admin/pages/@id/delete Delete page
GET /admin/pages/@id/versions Version history
POST /admin/pages/@id/restore/@versionId Restore version

All admin routes require session auth. Mutation routes (store, update, delete, restore) require CSRF.

Seeds

Installs on first run:

License

MIT


All versions of pages with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
enlivenapp/flight-school Version ^0.3
enlivenapp/flight-shield Version ^0.2
enlivenapp/migrations Version ^0.2
ezyang/htmlpurifier Version ^4.19
flightphp/active-record Version ^0.7
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 pubvana/pages contains the following files

Loading the files please wait ...