PHP code example of allenkhoury / al-make

1. Go to this page and download the library: Download allenkhoury/al-make library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

allenkhoury / al-make example snippets


'RepositoryName\\PackageName' => [
    'dir' => 'myrepository\\mypackage', // location to your package
    'root' => 'src', // Your package root directory
    'migrations' => 'src\\Database\\Migrations', // Migrations path
],

'packages_dir' => 'packages',
bash
$ php artisan vendor:publish --provider="AllenKhoury\AlMake\AlMakeServiceProvider"
bash
$ php artisan almake:model User Repo/Package
bash
php artisan almake:cast
php artisan almake:channel
php artisan almake:command
php artisan almake:component
php artisan almake:controller
php artisan almake:event
php artisan almake:exception
php artisan almake:factory
php artisan almake:job
php artisan almake:listener
php artisan almake:mail
php artisan almake:middleware
php artisan almake:migration
php artisan almake:model
php artisan almake:notification
php artisan almake:observer
php artisan almake:policy
php artisan almake:provider
php artisan almake:request
php artisan almake:resource
php artisan almake:rule
php artisan almake:seeder
php artisan almake:test