Download the PHP package ikoncept/fabriq without Composer

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

Latest Stable Version tests PHPStanLevel7 PHP Version Require

Fabriq CMS logo

Fabriq CMS

Installation instructions 💻

Add the customer repository url for the make-user-command in your composer.json file:

Install Fabriq:

If you're planning on using AWS s3:

Install the Mailgun driver

Install Laravel Sanctum as well for authentication

Add the domain to the .env file:

Publish the configurations:

Setup your database using the .env

Modify the user model 🧘

The user model need to extend the Fabriq\Models\User::class

Run the fabriq:install command:

This command will publish front end assets and views. It will also run the migrations

Important Delete the files app.js and bootstrap.js in the resources/js directory

Run pnpm install and pnpm production to build assets

Auth configuration 🗝

Laravel v11 and above

[!NOTE] On Laravel 11 and up the step below is not necessary since the files are overwritten when installing

Laravel below v11

Enable the Laravel Sanctum middleware in app\Http\Kernel.php

Register routes 🛣

[!NOTE] On Laravel 11 and up the this is not necessary since the files are overwritten when installing

Register the routes that makes sense for your app. See below examples

Create your first user in the database, or by using a package like michaeldyrynda/laravel-make-user

Publishing assets 🗄️

Assets can be published using their respective tags. The tags that are available are:

You can publish these assets using the command below:

If you want to overwrite your old published assets with new ones (for example when the package has updated views) you can use the --force flag

Note Above tags have been published when the fabriq:install was run

Broadcasting 📢

Fabriq leverages laravel/echo as a front end dependency to communicate with a pusher server. This package is preconfigured to use Ikoncept's own websocket server, but a pusher implementation can be swapped in.

To enable semi automatic prescense broadcasting go to the /resources/js/plugins/index.js and un-comment the the line for Laravel Echo:

If the Laravel Echo plugin isn't imported it will not be enabled.

Don't forget to add the proper .env variables:

If you want to have a presence channel for a specific page, simply add it to the route:

If you want to have a broadcast channel for a specific page, simply add it to the route:

When the broadcast middleware is applied it will listen to updated, created and deleted events. Which is useful for index views when live updates are needed.

Updating ♻️

You can publish new front end assets with the php artisan fabriq:update command. This command will publish new front end assets and run migrations.

Done? 🎉

That should be it, serve the app and login at /login

License

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

Testing


All versions of fabriq with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
illuminate/database Version ^8.56|^9.0|^10|^11
illuminate/support Version ^7.0.5|^8.0|^9.0|^10|^11
spatie/laravel-permission Version ^6.0
infab/core Version ^2.1
spatie/laravel-query-builder Version ^3.5|^4.0|^5.0|^6.0
spatie/laravel-medialibrary Version ^8.2|^9.0|^10.0|^11.0
doctrine/dbal Version ^3.1
kalnoy/nestedset Version ^6.0
spatie/laravel-tags Version ^3.1|^4.0
spatie/laravel-sluggable Version ^2.6|^3.0
infab/translatable-revisions Version ^1.6.0
laravel/fortify Version ^1.8
dyrynda/laravel-make-user Version ^7.3|^8.0|^9.0
php-ffmpeg/php-ffmpeg Version ^1.0
spatie/pdf-to-image Version ^2.1
spatie/once Version ^2.0|^3.0
pusher/pusher-php-server Version ^7.0
aws/aws-sdk-php Version ^3.219
laravel/pint Version ^1.2
spatie/laravel-webhook-server Version ^3.8
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 ikoncept/fabriq contains the following files

Loading the files please wait ....