Download the PHP package ayouberrak/freamwork without Composer

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

# Ayoub Framework 🚀

A lightweight, robust, and modern PHP MVC framework designed for speed and simplicity. Built with a "Nadi" (Premium) philosophy.

✨ Features

📦 Installation

  1. Create a new project via Composer:

  2. Configure Environment: Copy the example env file and configure your database.

    Edit .env to set DB_CONNECTION, DB_HOST, DB_DATABASE, etc.

  3. Run the Server:

🛠️ CLI Commands (php ayoub)

The framework comes with a powerful CLI tool named ayoub to speed up your development.

🚀 Server Commands

Start Development Server

Start the built-in PHP development server.

Starts server on http://localhost:8000

Custom Port:

Starts server on http://localhost:3000


📝 Scaffolding Commands

Make Controller

Generate a new controller class.

Creates: app/Controllers/UserController.php

Example:

Make Model

Generate a new database model.

Creates: app/Models/Product.php

Example:

Make Service

Generate a business logic service.

Creates: app/Services/PaymentService.php

Example:

Make Repository

Generate a data repository.

Creates: app/Repositories/OrderRepository.php

Example:

💡 Tip: Suffixes are optional! php ayoub make:controller User will automatically generate UserController.


🛣️ Route Commands

Make Route

Generate a new route and append it to routes/web.php.

Examples:

List All Routes

Display all registered routes in your application.

Output Example:


📋 All Commands Summary

Command Description Example
run [port] Start development server php ayoub run 8000
make:controller <Name> Create a controller php ayoub make:controller UserController
make:model <Name> Create a model php ayoub make:model Product
make:service <Name> Create a service php ayoub make:service AuthService
make:repository <Name> Create a repository php ayoub make:repository UserRepository
make:route <method> <uri> <action> Create a route php ayoub make:route get /users UserController@index
route:list List all routes php ayoub route:list

🛣️ Routing

Define your routes in routes/web.php.

Static Route:

Dynamic Route:

View Rendering:

📂 Structure


Built with ❤️ by Ayoub.


All versions of freamwork with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
vlucas/phpdotenv Version ^5.6
filp/whoops Version ^2.18
eftec/bladeone Version ^4.19
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 ayouberrak/freamwork contains the following files

Loading the files please wait ...