Download the PHP package sleekcube/admingenerator without Composer

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

Admin Generator

This package is an admin generator that help you generate an admin interface based on the database structure. Its main goal is to quickly create the necessary files to create a CRUD for an entity. The generator is built using the laravel framework and vue JS framework.

The following files are created:

Additionally, the package provides the following files:

The package is dependant on the following packages as well to quickly set up the project:

Installation

On a fresh laravel installation, you can install this package by running the following command:

Once installed, you need to setup laravel to use this package. Simply run the following command:

Once done, run

After this, you need to hook up a database with your laravel application.

Run the following commands:

Once this is done, you should try to access the /admin route of your application. Ideally, you'd hook up the application with a v-host. Either way, be sure to change the APP_URL in your.env file. As you can see in your UserSeeder, you have an admin with username: [email protected] and password: secret

How to use the package

The package provides three commands for three types of database structure.

NB: The model name needs to in singular form.

The package also provides a scheduler command. This allows you to order your migrations. First you need to publish the package config:

In your config directory, you will find a sleekcube.php file. Here you can define an array as follows:

After the migration is done, to recompile your assets, you need to run

Example

This will create the following migrations

Recompile your assets and checkout the following urls:

Hazza

Constraints

As a security feature, the id of the model is masked from the front. The mapping is always done using slugs which means that the model always need to have a string which will be used as the source for the slug generation.

Future Developments


All versions of admingenerator with dependencies

PHP Build Version
Package Version
Requires doctrine/dbal Version ^2.8
cviebrock/eloquent-sluggable Version ^4.6
dimsav/laravel-translatable Version ^9.0
laravel/passport Version ^7.0
laravel/socialite Version ^3.1
spatie/laravel-fractal Version ^5.4
spatie/laravel-permission Version ^2.12
intervention/image Version ^2.4
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 sleekcube/admingenerator contains the following files

Loading the files please wait ....