PHP code example of develhopper / young
1. Go to this page and download the library: Download develhopper/young 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/ */
develhopper / young example snippets
sh
php young init
sh
php young migrate create_users_table
xml
<VirtualHost *:80>
ServerName lofi.lc
ServerAlias *.lofi.lc
DocumentRoot /var/www/localhost/htdocs/young/public
<Directory /var/www/localhost/htdocs/young/public>
Options FollowSymLinks
AllowOverride All
DirectoryIndex index.php
Require all granted
Header set Access-Control-Allow-Origin "*"
</Directory>
</VirtualHost>