Download the PHP package zofe/demo-module without Composer

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

Rapyd Admin — Demo module

Tests

The self-documenting CRUD demo of Rapyd Admin: a table, a detail page and a form for Articles by Authors. Every page shows, right under it, the route, the Livewire component and the Blade view that produce it, so you see how little a CRUD takes. It is also the reference for a module packaged on its own: same folder layout as a module generated in app/Modules, plus composer.json, a provider and tests.

Live: rapyd.dev/demo

Install

Open /demo and click Populate the database (or php artisan db:seed --class="App\\Modules\\Demo\\Database\\Seeders\\DemoSeeder"). A "Crud Demo" entry appears in the admin sidebar and in the public navbar. The pages are public on purpose: it is a showcase.

Demo data and the "re-populate" link

The seeder creates 10 authors with 2 articles each and replaces whatever is there. The demo home offers a "Re-populate the demo data" link, enabled by default: on your machine you are the only user, and after creating, editing and deleting records you want a clean dataset back with one click.

On a shared, public demo turn it off, otherwise one visitor wipes what another is trying:

or 'repopulate' => false in a config/demo.php of the application. The link disappears and the action answers 403; filling an empty database stays possible. Reset the data on a schedule instead, e.g. in routes/console.php:

This is what rapyd.dev does.

What to look at

Tests


All versions of demo-module with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/config Version ^11.0|^12.0|^13.0
illuminate/contracts Version ^11.0|^12.0|^13.0
livewire/livewire Version ^4.0
zofe/rapyd-admin Version ^9.17
fakerphp/faker Version ^1.23
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 zofe/demo-module contains the following files

Loading the files please wait ...