Download the PHP package invoiceninja/inspector without Composer

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

inspector logo

Simplified database records management. Inspector will let you take care of CRUD without taking over your frontend.

Example

Installation

You can install the package via composer:

Requirements

Philosophy

Inspector isn't your regular admin panel. It is meant to be used as part of the admin panel. That said, we wanted something that is lightweight and it doesn't take over your front end.

It doesn't care about your CSS framework, do you use Livewire or not, because you're in charge of integrating it. Don't worry, it's extremely simple.

Usage

Like we previously said, you're in charge of integrating Inspector, but we will give you the most simple examples here.

Start by creating one controller, we will name it TableController.

Showing tables in the database

Now, to show all these tables, you can make your own loop. To speed things up, we've provided some prebuilt components.

This will show a nice preview of all tables in your database.

Tables
Failed jobs
Migrations
Password resets
Personal access tokens
Users

Awesome, let's make the link to the individual table page. We can do this by passing the show-route-name parameter in the component.

Note: Route name is fully optional. We're using a resourceful controller, following Laravel conventions.

By doing that, we should get a new "View" action in our table:

Table Action
Failed jobs View
Migrations View
Password resets View
Personal access tokens View
Users View

Showing table columns

It might be useful for you to preview table columns & their types. To achieve that we can use the getTableColumns method.

That will produce a nice table with all columns/types.

Column Type
id integer
migration string
batch integer

Showing table records

To show table records, we can make use of the getTableRecords method.

To generate a link to a specific record, pass show-route-name:

This will generate URL like this: /tables/{table}/edit?id=1.

# id migration batch
View 1 2014_10_12_000000_create_users_table 1

Showing & editing row in the table

Showing a page for the specific row is super simple. We can make use of the getTableRecord method.

This will generate the form with all columns as input fields & their values as part of input values.

Note: update-route-name is optional.

Updating table row

One thing that is left is updating the table row. As you can probably guess, Inspector provides a helper method - updateTableRecord.

Configuration

We did our best to make Inspector as configurable as possible. To tinker with a configuration file, make sure to publish it first.

With configuration published, you can control visible tables, as well as hidden, component classes & modify them as you wish.

Available methods

Please see CONTRIBUTING for details.

Security

If you discover any security-related issues, please email [email protected] instead of using the issue tracker.

Credits

License

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


All versions of inspector with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.1
doctrine/dbal Version ^3.1
illuminate/support Version ^8.0|^9.0|^10.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 invoiceninja/inspector contains the following files

Loading the files please wait ....