Download the PHP package rydurham/sentinel without Composer

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

Sentinel: Sentry Implementation for Laravel

Build Status Total Downloads License

This package provides an implementation of Sentry 2 for Laravel. By default it uses Bootstrap 3.0, but you can make use of whatever UI you want. It is intended to be a very simple way to get up and running with User access control very quickly. For simple projects you shouldn't need to do much more than drop it in and dial in the configuration.

The auth package has been deprecated. If you are using it in production you should upgrade to . This package will also eventually be deprecated. Do not use this package if you are starting a fresh application.

Important There are two PHP packages named "Sentinel". This is , not . The key difference is that this package is intended to be an implementation of Sentry v2, whereas Cartalyst released what would have been Sentry v3 under the name . The instructions below are specifically for , make sure you are using the right package before proceeding.

If you are looking for a quick way to get up and running with . I have created a bridge package that may be helpful. If you are starting a new Laravel project, I recommend using that package instead of this one.

Releases There are several versions of this package, each intended for different versions of the Laravel framework.

Laravel Version Sentinel Version Packagist Branch
7.0.* 4.0.*
8.0.* 5.0.*
9.0.* 6.0.*

Laravel 5 Instructions

Install the Package Via Composer:

Make sure you have configured your application's Database and Mail settings.

This package uses "package discovery" to automatically register it's service provider with your application.

Register the Middleware in your file:

Publish the Views, Assets, Config files and migrations:

You can specify a "theme" option to publish the views and assets for a specific theme:

Run to see the currently available themes.

Run the Migrations Be sure to set the appropriate DB connection details in your file.

Note that you may want to remove the and migrations that are provided with a new Laravel 5 application.

Seed the Database:

More details about the default usernames and passwords can be found here.

Set a "Home" Route.

Sentinel requires that you have a route named 'home' in your file:

Basic Usage

Once installed and seeded, you can make immediate use of the package via these routes:

Sentinel also provides middleware which you can use to prevent unauthorized access to your application's routes & methods.

Advanced Usage

This package is intended for simple sites but it is possible to integrate into a larger application on a deeper level:

It is not advisable to extend the Sentinel controller classes; you will be better off in the long run creating your own controllers from scratch.

Using Sentinel in Tests

If you find yourself in the situation where you want to do tests with user logged in, go to your ` tests/TestCase.php and add this method:

You can then start testing your application with user logged in, as such:

Documentation & Questions

Check the Wiki for more information about the package:

Any questions about this package should be posted on the package website.

Localization

Sentinel has been translated into several other languages, and new translations are always welcome! Check out the Sentinel Page on CrowdIn for more details.


All versions of sentinel with dependencies

PHP Build Version
Package Version
Requires php Version ^8
ext-bcmath Version *
illuminate/support Version ^9.0
illuminate/contracts Version ^9.0
cartalyst/sentry Version ^2.0
vinkla/hashids Version ^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 rydurham/sentinel contains the following files

Loading the files please wait ....