Requirements

  • Laravel 5.4
  • PHP 7.1
  • MySQL 5.7
  • Apache or Nginx

1. Install Laravel

Install the Laravel framework first. Once it is installed and the database connection is configured, continue with the next step.

2. Add the CrudAdmin package

The package is published at packagist.org/packages/crudadmin/crudadmin.

Registering the package on Laravel 5.4 and older

Add the service provider to config/app.php so Laravel loads the package.
config/app.php
On Laravel 5.5 and newer the package registers itself, so you can skip this step.

3. Run the installer

Output of the php artisan admin:install command
The installer performs the following changes:
  1. Copies the assets files with all public files into /public/vendor/crudadmin.
  2. Creates the administration config file /config/admin.php.
  3. Creates the base database layer with the users table and one demo account. The credentials are printed in the terminal.
  4. Removes the migration /database/migrations/2014_10_12_100000_create_password_resets_table.php, which CrudAdmin does not need.

4. Done

The package is installed and the project is ready to build on.
CrudAdmin login screen
The administration is available at http://yourdomain.com/admin.
The login credentials were generated by the installer and printed in the terminal. You can change them after signing in.