Download the PHP package permaxis/laravel-crudgenerator without Composer

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

laravel-crudgenerator

About Laravel CrudGenerator

Laravel CrudGenerator is a package that install in your laravel project a simple crud (Create Read Update Delete) interface to manage your model. The interface is based on Bootstrap 4 Theme

Versions

Laravel laravel-crud-generator
6.0 ^1.0

Demo

You can see a demo at this address url : https://laravelcrudgenerator.permaxis.fr/

1. Install package

composer require permaxis/laravel-crudgenerator

This package will also install a package dependency named "permaxis/laravel-core", a toolbox libraries for laravel

\Permaxis\Laravel\CrudGenerator\CrudGeneratorServiceProvider::class,

2. Generates crud based on Model

For example, you have a model named Article located in app\Models folder. it full namespace is App\Models\Article

Execute the command below:

php artisan permaxis:make:crudgenerator --m="\App\Models\Article" --c=ArticleController --ov --oc --rn=bo

It generates a controller named "ArticleController" in your app/Http/Controllers folder

It generates a folder named "articles" in your resource views folder that contains these views:

index, create, edit, delete, form, search

Here are the listed options for the package: `

3. Create Routes for crud interface

For accessing to the crud interface via browser, you have to create routes:

Add this function to your app/Providers/RouteServiceProvider.php file

Call this method in your register method of your RouteServiceProvider class

It creates routes for resource articles. The crud interface is accessing at the url /backoffice/articles

Method Uri Route Action Controller Middleware
GET|HEAD articles bo.articles.index App\Http\Controllers\ArticleController@index web
POST articles bo.articles.store App\Http\Controllers\ArticleController@store web
DELETE articles bo.articles.destroy_entities App\Http\Controllers\ArticleController@destroyEntities web
GET|HEAD articles/create bo.articles.create App\Http\Controllers\ArticleController@create web
PUT articles/{id} bo.articles.update App\Http\Controllers\ArticleController@update web
DELETE articles/{id} bo.articles.destroy App\Http\Controllers\ArticleController@destroy web
GET|HEAD articles/{id}/delete bo.articles.delete App\Http\Controllers\ArticleController@delete web
GET|HEAD articles/{id}/edit bo.articles.edit App\Http\Controllers\ArticleController@edit web
GET|HEAD articles/{id}/show bo.articles.show App\Http\Controllers\ArticleController@show web

4. Publish assets

php artisan vendor:publish --tag=permaxis_crudgenerator_assets

It publishes assets folder in your Resources folder : resources/vendor/permaxis/laravel-crugenerator/assets

The script "crudgenerator.js" asset is used by the crud interface.

Package assets resources/vendor/permaxis/laravel-crugenerator/assets/crudgenerator.js that you can publish to your public directory or use laravel mix and include it in your js/all.js

5. Publish layouts

Publish include folder in Resources views folder : resources/views/vendor/permaxis/laravel-crugenerator. It is used for common files

php artisan vendor:publish --tag=permaxis_crudgenerator_include

Publish layouts folder in Resources views folder : resources/views/vendor/permaxis/laravel-crugenerator. The views for articles folder extend the layout "admin.blade.php"

php artisan vendor:publish --tag=permaxis_crudgenerator_layouts

You can override this layout or use your own layout, but the assets below are required

5. Onine Demo

You can see a demo at this address url : https://laravelcrudgenerator.permaxis.fr/


All versions of laravel-crudgenerator with dependencies

PHP Build Version
Package Version
Requires laravelcollective/html Version ^6.0
permaxis/laravel-core Version ^1.0
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 permaxis/laravel-crudgenerator contains the following files

Loading the files please wait ....