Download the PHP package shworx/beacon without Composer

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

Beacon - The Foundation for Modern PHP Applications

About Beacon

Beacon is a modern PHP application starter framework designed for developers who value simplicity, maintainability, and rapid development.

It combines proven architectural concepts such as dependency injection, service providers, middleware, routing, validation, authentication, database migrations, and Eloquent ORM into a clean, lightweight, and developer-friendly foundation.

Unlike many frameworks that require extensive initial setup, Beacon is distributed as a complete project skeleton, including a fully integrated authentication system with user registration, login, password reset, remember-me functionality, and email verification. This allows developers to focus on building their applications rather than spending time on repetitive boilerplate configuration.

Beacon also includes a lightweight Neumorphism-based CSS starter design featuring commonly used UI components such as cards, buttons, form controls, alerts, and popovers. The design serves as a practical starting point and can be customized or replaced entirely to suit your project's requirements.

Whether you're building a personal website, business application, administration panel, or custom web platform, Beacon provides a solid and extensible foundation to get started quickly.

Features

Requirements

Installation

  1. Create a new Beacon project:

  2. Enter the project directory:

  3. Install dependencies:

  4. Copy the environment configuration:

  5. Generate an application secret:

  6. Copy the generated application secret to the .env file (APP_SECRET)

  7. Run database migrations:

  8. Start your web server and begin building.

Project Structure

Console Commands

List all available commands: php console
Create Migration: php console make:migration create_users_table
Run Migrations: php console migrate
Rollback Migrations: php console migrate:rollback
Generate Application Secret: php console app:key

Routing Examples

Basic routes

Routes with parameter

Route groups

Generate URLs in Twig:

Validation

Beacon integrates Symfony Validator with DTO-based validation.

Example:

Validate example:

Database

Beacon uses Laravel's Eloquent ORM.

With relation:

Create migrations:

Run migrations:

Philosophy

Beacon aims to provide:

Beacon does not try to hide PHP. Instead, it embraces PHP and provides a solid foundation for building maintainable applications.

License

Beacon is open-sourced software licensed under the MIT License.

Local Docker environment setup

Beacon comes with a pre-configured Docker container setup, consisting of 3 containers:

Generate SSL cert & key for local Docker environment

To run the local Docker container setup, you should first generate a fresh SSL cert and key. To do so, follow the steps below.

Generating SSL cert

Important notes:

  1. If you have changed the CN value beacon.local to any other local domain you want to use, then you also need to update the value for server_name (line 13), and the value in add_header (line 88) in docker/config/conf.d/default.conf. You also need to update APP_URL in .env to match your local domain.
  2. If you have changed the file names for the cert and the key, then you also need to update the entries in docker/config/conf.d/self-signed.conf.
Generating Diffie-Hellman params

You can now start the local Docker environment on CLI via Docker compose.

Helper aliases inside beacon-webserver container

The beacon-webserver container comes along with some helper aliases:

Author

Beacon is created and maintained by

Steffen Haase
SHWorX Development

Website: https://shworx.com
GitHub: https://github.com/SHWorX


All versions of beacon with dependencies

PHP Build Version
Package Version
Requires php Version ^8.5.0
symfony/routing Version ^8.1.0
twig/twig Version ^3.27.0
symfony/validator Version ^8.1.0
egulias/email-validator Version ^4.0.0
phpmailer/phpmailer Version ^7.1.0
monolog/monolog Version ^3.10.0
illuminate/database Version ^13.12.0
vlucas/phpdotenv Version ^5.6.3
ramsey/uuid Version ^4.9.2
nesbot/carbon Version ^3.11.4
illuminate/events Version ^13.15.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 shworx/beacon contains the following files

Loading the files please wait ...